Hi…
Is there something in Ruby that will make XML look nice on STDOUT?
-Chris
Hi…
Is there something in Ruby that will make XML look nice on STDOUT?
-Chris
On Wed, 4 Jan 2006, Chris McMahon wrote:
Hi…
Is there something in Ruby that will make XML look nice on STDOUT?
-Chris
puts doc.pretty
-a
Chris McMahon wrote:
Hi…
Is there something in Ruby that will make XML look nice on STDOUT?
REXML has a options for printing with nice indentation.
http://www.ruby-doc.org/stdlib/libdoc/rexml/rdoc/index.html
James
–
http://www.ruby-doc.org - Ruby Help & Documentation
Ruby Code & Style - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools
the “pretty” method comes from where?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs