summaryrefslogtreecommitdiff
path: root/lib/rexml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/document.rb2
1 files changed, 1 insertions, 1 deletions
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