RubyGems
npm
Organizations
Log in
Sign up
RubyGems
xml-to-haml
Versions diffs
0.1.2 → 0.1.3
xml-to-haml 0.1.2 → 0.1.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/xml-to-haml.rb
+2
-2
metadata
+1
-1
data/lib/xml-to-haml.rb
CHANGED
Viewed
@@ -36,8 +36,8 @@ class XMLtoHAML
36
36
end
37
37
38
38
buffer += attributex + node.text if not node.text.nil?
39
-
puts
buffer
40
-
xml_to_haml(node, indent + ' ')
39
+
buffer
+= xml_to_haml(node, indent + ' ')
40
+
buffer
41
41
end
42
42
end
43
43
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: xml-to-haml
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.1.
2
4
+
version: 0.1.
3
5
5
platform: ruby
6
6
authors: []
7
7