lib/dm-serializer/to_xml.rb in dm-serializer-0.9.9 vs lib/dm-serializer/to_xml.rb in dm-serializer-0.9.10

- old
+ new

@@ -34,10 +34,10 @@ xml_name = meth.to_s.gsub(/[^a-z0-9_]/, '') value = send(meth) xml.add_node(root, xml_name, value.to_s) unless value.nil? end end - doc + xml.output(doc) end end class Collection def to_xml(opts = {})