| 1 | | --- lib/rexml/document.rb (revision 13681) |
| 2 | | +++ lib/rexml/document.rb (working copy) |
| 3 | | @@ -167,7 +167,7 @@ |
| 4 | | # indentation will be twice this number of spaces, and children will be |
| 5 | | # indented an additional amount. For a value of 3, every item will be |
| 6 | | # indented 3 more levels, or 6 more spaces (2 * 3). Defaults to -1 |
| 7 | | - # trans:: |
| 8 | | + # transitive:: |
| 9 | | # If transitive is true and indent is >= 0, then the output will be |
| 10 | | # pretty-printed in such a way that the added whitespace does not affect |
| 11 | | # the absolute *value* of the document -- that is, it leaves the value |
| 12 | | @@ -178,7 +178,7 @@ |
| 13 | | # unable to parse proper XML, we have to provide a hack to generate XML |
| 14 | | # that IE's limited abilities can handle. This hack inserts a space |
| 15 | | # before the /> on empty tags. Defaults to false |
| 16 | | - def write( output=$stdout, indent=-1, trans=false, ie_hack=false ) |
| 17 | | + def write( output=$stdout, indent=-1, transitive=false, ie_hack=false ) |
| 18 | | if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output) |
| 19 | | output = Output.new( output, xml_decl.encoding ) |
| 20 | | end |