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