mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c9baf1fabf
commit
f6ea3cc675
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Nov 16 15:59:14 2015 yui-knk <spiketeika@gmail.com>
|
||||||
|
|
||||||
|
* proc.c: Add call-seq of `Method#super_method`
|
||||||
|
[ci skip][fix GH-1094]
|
||||||
|
|
||||||
Mon Nov 16 15:58:39 2015 Kenichi Kamiya <kachick1@gmail.com>
|
Mon Nov 16 15:58:39 2015 Kenichi Kamiya <kachick1@gmail.com>
|
||||||
|
|
||||||
* struct.c: Standardize a method signature of Struct#[]=.
|
* struct.c: Standardize a method signature of Struct#[]=.
|
||||||
|
|
7
proc.c
7
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
|
static VALUE
|
||||||
method_super_method(VALUE method)
|
method_super_method(VALUE method)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue