зеркало из https://github.com/github/ruby.git
* lib/xmlrpc/utils.rb: Fixing an incompatibility with
reflection methods returning Symbols. Patch by HD Moore. [ruby-core:29821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c6871cef32
Коммит
fa9da31def
|
@ -1,3 +1,9 @@
|
|||
Thu Apr 29 03:50:49 2010 James Edward Gray II <jeg2@ruby-lang.org>
|
||||
|
||||
* lib/xmlrpc/utils.rb: Fixing an incompatibility with
|
||||
reflection methods returning Symbols. Patch by
|
||||
HD Moore. [ruby-core:29821]
|
||||
|
||||
Wed Apr 28 23:53:15 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* lib/thwait.rb: revise rdoc. a patch from Roger Pack in
|
||||
|
|
|
@ -112,7 +112,7 @@ module XMLRPC
|
|||
def get_methods(obj, delim=".")
|
||||
prefix = @prefix + delim
|
||||
@methods.collect { |name, meth, sig, help|
|
||||
[prefix + name, obj.method(meth).to_proc, sig, help]
|
||||
[prefix + name.to_s, obj.method(meth).to_proc, sig, help]
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -132,7 +132,7 @@ module XMLRPC
|
|||
def get_methods(obj, delim=".")
|
||||
prefix = @prefix + delim
|
||||
obj.class.public_instance_methods(false).collect { |name|
|
||||
[prefix + name, obj.method(name).to_proc, nil, nil]
|
||||
[prefix + name.to_s, obj.method(name).to_proc, nil, nil]
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче