object.c: Object#public_methods, private_methods, etc. returns method ids that belong to the class or the singleton class(es) of the object. [ruby-dev:41613]
class.c: on the other hand, Module#public_instance_methods, etc. returns method ids that belong to the module itself (even if the module is singleton, it does not return method ids of super class(es); see [ruby-core:28837]).
merges r28357 from trunk into ruby_1_9_2.¶
object.c: Object#public_methods, private_methods, etc. returns
method ids that belong to the class or the singleton class(es) of
the object. [ruby-dev:41613]
class.c: on the other hand, Module#public_instance_methods, etc.
returns method ids that belong to the module itself (even if the
module is singleton, it does not return method ids of super
class(es); see [ruby-core:28837]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e