1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
jeg2 2008-12-17 23:15:56 +00:00
parent 118eecc361
commit cd5c309542
2 changed files with 11 additions and 1 deletions

View file

@ -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>
* ext/socket/socket.c (unix_recv_io): relax msg_controllen error

View file

@ -267,7 +267,9 @@ class BasicServer
if obj.kind_of? Proc
methods << name
else
obj.methods.each {|meth| methods << name + meth}
obj.class.public_instance_methods(false).each do |meth|
methods << "#{name}#{meth}"
end
end
end
methods