diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 05:52:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 05:52:03 +0000 |
commit | 0824f9f224117ce26973df3ebc6216d03723dd0e (patch) | |
tree | ae0cfcf9bcbf5bad8fd00620b84c734d30f94d2a /ChangeLog | |
parent | 304850801475722c686e31c93f82e18ede93ba05 (diff) | |
download | ruby-0824f9f224117ce26973df3ebc6216d03723dd0e.tar.gz |
proc.c: Kernel#singleton_method
* proc.c (rb_obj_singleton_method): new method Kernel#singleton_method
which returns a Method object of the singleton method.
non-singleton method causes NameError, but not aliased or zsuper
method, right now.
[ruby-core:54914] [Feature #8391]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,10 @@ -Mon May 13 14:51:12 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon May 13 14:51:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * proc.c (rb_obj_singleton_method): new method Kernel#singleton_method + which returns a Method object of the singleton method. + non-singleton method causes NameError, but not aliased or zsuper + method, right now. + [ruby-core:54914] [Feature #8391] * vm_method.c (rb_method_entry_at): return the method entry for id at klass, without ancestors. |