aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-12 15:19:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-12 15:19:28 +0000
commit9f99bc463176fa2b0244b20af5eeb82b50eb3405 (patch)
tree0a84fb1c568af620574c92ecc4fa6df42dc2ebed
parentd962ef745445532eb267651b2a6e09722a732178 (diff)
downloadruby-9f99bc463176fa2b0244b20af5eeb82b50eb3405.tar.gz
* lib/rexml/document.rb (REXML::Document::write): leaky
modification trans -> transitive. [ruby-dev:32040] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/rexml/document.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 39af0bb5e8..bccbdc47ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Oct 13 00:17:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * lib/rexml/document.rb (REXML::Document::write): leaky
+ modification trans -> transitive. [ruby-dev:32040]
+
Sat Oct 13 00:00:33 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y: encoding specifier should work if the line matches
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb
index 81e63c60f1..f09aa2bc1c 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