aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 6cbe08cae8..c88c676729 100644
--- a/proc.c
+++ b/proc.c
@@ -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)
{