diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-12 15:19:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-12 15:19:28 +0000 |
commit | 8890af8e5867a6505d5e143cffbeb50c3efe0663 (patch) | |
tree | 0a84fb1c568af620574c92ecc4fa6df42dc2ebed /lib/rexml | |
parent | 12c84beae4698278ea664dcaffa944d369a401c3 (diff) | |
download | ruby-8890af8e5867a6505d5e143cffbeb50c3efe0663.tar.gz ruby-8890af8e5867a6505d5e143cffbeb50c3efe0663.tar.xz ruby-8890af8e5867a6505d5e143cffbeb50c3efe0663.zip |
* lib/rexml/document.rb (REXML::Document::write): leaky
modification trans -> transitive. [ruby-dev:32040]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r-- | lib/rexml/document.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb index 81e63c60f..f09aa2bc1 100644 --- a/lib/rexml/document.rb +++ b/lib/rexml/document.rb @@ -179,7 +179,7 @@ module REXML # unable to parse proper XML, we have to provide a hack to generate XML # that IE's limited abilities can handle. This hack inserts a space # before the /> on empty tags. Defaults to false - def write( output=$stdout, indent=-1, trans=false, ie_hack=false ) + def write( output=$stdout, indent=-1, transitive=false, ie_hack=false ) if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output) output = Output.new( output, xml_decl.encoding ) end |