summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-26 16:47:27 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-26 16:47:27 +0000
commit1788d08d257060e6187817290d604d7da2f1ea65 (patch)
tree74dab81248cc449afc710813cd8868c59ea9711b /proc.c
parentb4981594dd8ac975d76ad1654a419bd6263c3c69 (diff)
* proc.c (method_super_method): [DOC] Method#super_method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index 5e5705214e..a98bc4b471 100644
--- a/proc.c
+++ b/proc.c
@@ -2422,6 +2422,9 @@ method_proc(VALUE method)
return procval;
}
+/*
+ * Returns a Method of superclass, which would be called when super is used.
+ */
static VALUE
method_super_method(VALUE method)
{