Hi @Empact,
I want to generate xml from ruby object without indentation('\n'), but I could not find any option.
book = Book.new
book.isbn = "0201710897"
book.title = "The PickAxe"
book.description = "Best Ruby book out there!"
book.author = "David Thomas, Andrew Hunt, Dave Thomas"
doc = Nokogiri::XML::Document.new
doc.root = book.to_xml
Is there a way I can remove indentation as below in ROXML as similar to to_xml in ActiveSupport :
doc.root = book.to_xml(:indent =>0)