summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--proc.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ffa5bee9fe..c60be0e434 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jul 27 01:46:34 2014 Zachary Scott <e@zzak.io>
+
+ * proc.c (method_super_method): [DOC] Method#super_method
+
Sun Jul 27 01:22:39 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* proc.c (method_super_method): new method Method#super_method,
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)
{