1. Yuji Hanamura
  2. XmlFormatter4JR


Yuji Hanamura  committed 6066ca5

Fixed a comment.

  • Participants
  • Parent commits eeaf0ce
  • Branches default

Comments (0)

Files changed (1)

File xmlformatter.rb

View file
  • Ignore whitespace
-If +format+ is true, return the formatted xml string.
-Else, return the xml string.
+This method to format xml string.
+  Target xml string.
+  Indentation width.
 def format_xml(in_xml, indent=2)
   doc = REXML::Document.new(in_xml)