I’m trying to print out some xml and don’t know what I’m doing. I’m
this <to_s/> tag in the output. Where is it coming from and how do I get
of it. Here’s my test code. Any help appreciated.
fruit = Fruit.new()
fruit.name = “Apple”
xml = Builder::XmlMarkup.new(:indent=>2)
f = File.new(“test.xml”, “w”)