mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/node.rb (REXML::Node::indent): should initialize rv
variable. a patch from Tadayoshi Funaba <tadf AT dotrb.org> in [ruby-dev:32783]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1ffc06198e
commit
23a8a5e78f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Dec 25 23:25:29 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/rexml/node.rb (REXML::Node::indent): should initialize rv
|
||||
variable. a patch from Tadayoshi Funaba <tadf AT dotrb.org> in
|
||||
[ruby-dev:32783].
|
||||
|
||||
Tue Dec 25 23:16:01 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (proc_options): encoding option in shbang and RUBYOPT did not
|
||||
|
|
|
@ -27,7 +27,7 @@ module REXML
|
|||
unless indent.nil?
|
||||
Kernel.warn( "#{self.class.name}.to_s(indent) parameter is deprecated" )
|
||||
f = REXML::Formatters::Pretty.new( indent )
|
||||
f.write( self, rv, indent )
|
||||
f.write( self, rv = "" )
|
||||
else
|
||||
f = REXML::Formatters::Default.new
|
||||
f.write( self, rv = "" )
|
||||
|
|
Loading…
Reference in a new issue