summaryrefslogtreecommitdiff
path: root/lib/rexml/instruction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/instruction.rb')
-rw-r--r--lib/rexml/instruction.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/instruction.rb b/lib/rexml/instruction.rb
index ed4f604c74..f24f7786f7 100644
--- a/lib/rexml/instruction.rb
+++ b/lib/rexml/instruction.rb
@@ -38,8 +38,8 @@ module REXML
Instruction.new self
end
- def write writer, indent_level=-1, transitive=false, ie_hack=false
- indent(writer, indent_level)
+ def write writer, indent=-1, transitive=false, ie_hack=false
+ indent(writer, indent)
writer << START.sub(/\\/u, '')
writer << @target
writer << ' '