зеркало из https://github.com/github/ruby.git
* 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:
Родитель
1ffc06198e
Коммит
23a8a5e78f
|
@ -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 = "" )
|
||||
|
|
Загрузка…
Ссылка в новой задаче