From 2f5bd9d6d7c0a1520713e63b941f7f7c7dfd340e Mon Sep 17 00:00:00 2001 From: ser Date: Fri, 12 Aug 2005 12:08:52 +0000 Subject: * Fixed the inheritance bug in the pull parser that James Britt found. * Indentation changes, and changed some exceptions to runtime exceptions. * Backed out the patch that changed the versions * Wasn't including Text class. * Fixes issue:25 (Trac) * Fixes ticket:3 (Issue38 in Roundup.) * Numerous fixes in the XPath interpreter correcting, among other things, ordering bugs and some incorrect behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/instruction.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rexml/instruction.rb') diff --git a/lib/rexml/instruction.rb b/lib/rexml/instruction.rb index ed4f604c7..f24f7786f 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 << ' ' -- cgit