lib/dm-serializer/xml_serializers/libxml.rb in dm-serializer-0.9.9 vs lib/dm-serializer/xml_serializers/libxml.rb in dm-serializer-0.9.10

- old
+ new

@@ -21,9 +21,13 @@ attrs.each do |attr_name, attr_val| node[attr_name] = attr_val end parent << node end + + def self.output(doc) + doc.root.to_s + end end end end end