Project

General

Profile

« Previous | Next » 

Revision d35f8ea8

Added by mame (Yusuke Endoh) over 15 years ago

  • 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/trunk@28357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e