summaryrefslogtreecommitdiff
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
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
-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)
{