diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-16 07:00:56 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-16 07:00:56 +0000 |
commit | 7e498a1eef392e1fecf27cae537d89a83380e784 (patch) | |
tree | 5ade0eea86784750f84c4791e7713ae5a44bef0f /proc.c | |
parent | 8b58cef52c1ec8ab999d7ce992866a0d24a53063 (diff) | |
download | ruby-7e498a1eef392e1fecf27cae537d89a83380e784.tar.gz |
* proc.c: Add call-seq of `Method#super_method`
[ci skip][fix GH-1094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2540,8 +2540,13 @@ method_to_proc(VALUE method) } /* - * Returns a Method of superclass, which would be called when super is used. + * call-seq: + * meth.super_method -> method + * + * Returns a Method of superclass which would be called when super is used + * or nil if there is no method on superclass. */ + static VALUE method_super_method(VALUE method) { |