diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-26 16:22:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-26 16:22:41 +0000 |
commit | b4981594dd8ac975d76ad1654a419bd6263c3c69 (patch) | |
tree | a5addb7c35ce34625a76898f3fb0b17219b5207c /NEWS | |
parent | 042a162af14b2d1f31130271530c7d66be5fd741 (diff) | |
download | ruby-b4981594dd8ac975d76ad1654a419bd6263c3c69.tar.gz |
proc.c: method_super_method
* proc.c (method_super_method): new method Method#super_method,
which returns a method object of the method to be called by
`super` in the receiver method object.
[ruby-core:62202] [Feature #9781]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -63,6 +63,8 @@ with all sufficient information, see the ChangeLog file. * Method * New methods: * Method#curry([arity]) returns a curried Proc. + * Method#super_method returns a Method of superclass, which would be called + when super is used. === Core classes compatibility issues (excluding feature bug fixes) |