I have a unit test that demonstrates some inconsistent behavior with a
Hash being converted to XML with the :root option. Sometimes it works
fine:
Hash.new.to_xml(:root = 'test')
?xml version=\1.0\ encoding=\UTF-8\?\ntest\n/test\n
But sometimes I get an argument error:
Hash.new.to_xml(:root =
On 11 Feb 2010, at 15:43, TomRossi7 wrote:
I have a unit test that demonstrates some inconsistent behavior with a
Hash being converted to XML with the :root option. Sometimes it works
fine:
Hash.new.to_xml(:root = 'test')
?xml version=\1.0\ encoding=\UTF-8\?\ntest\n/test\n
But sometimes I
2 matches
Mail list logo