* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603] * lib/xmlrpc/server.rb: Fixing method inspection so it doesn't trigger XMLRPC::FaultException when used. [ruby-core:20604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
118eecc361
commit
cd5c309542
@ -1,3 +1,11 @@
|
|||||||
|
Thu Dec 18 08:15:04 2008 James Edward Gray II <jeg2@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/xmlrpc/server.rb: Restricting method inspection to show only
|
||||||
|
non-inherited public methods. [ruby-core:20603]
|
||||||
|
|
||||||
|
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
|
||||||
|
trigger XMLRPC::FaultException when used. [ruby-core:20604]
|
||||||
|
|
||||||
Wed Dec 17 19:39:44 2008 Tanaka Akira <akr@fsij.org>
|
Wed Dec 17 19:39:44 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/socket/socket.c (unix_recv_io): relax msg_controllen error
|
* ext/socket/socket.c (unix_recv_io): relax msg_controllen error
|
||||||
|
@ -267,7 +267,9 @@ class BasicServer
|
|||||||
if obj.kind_of? Proc
|
if obj.kind_of? Proc
|
||||||
methods << name
|
methods << name
|
||||||
else
|
else
|
||||||
obj.methods.each {|meth| methods << name + meth}
|
obj.class.public_instance_methods(false).each do |meth|
|
||||||
|
methods << "#{name}#{meth}"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
methods
|
methods
|
||||||
|
Loading…
x
Reference in New Issue
Block a user