ruby-changes:40507
From: hsbt <ko1@a...>
Date: Mon, 16 Nov 2015 16:01:19 +0900 (JST)
Subject: [ruby-changes:40507] hsbt:r52588 (trunk): * proc.c: Add call-seq of `Method#super_method`
hsbt 2015-11-16 16:00:56 +0900 (Mon, 16 Nov 2015) New Revision: 52588 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52588 Log: * proc.c: Add call-seq of `Method#super_method` [ci skip][fix GH-1094] Modified files: trunk/ChangeLog trunk/proc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 52587) +++ ChangeLog (revision 52588) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Nov 16 15:59:14 2015 yui-knk <spiketeika@g...> + + * proc.c: Add call-seq of `Method#super_method` + [ci skip][fix GH-1094] + Mon Nov 16 15:58:39 2015 Kenichi Kamiya <kachick1@g...> * struct.c: Standardize a method signature of Struct#[]=. Index: proc.c =================================================================== --- proc.c (revision 52587) +++ proc.c (revision 52588) @@ -2540,8 +2540,13 @@ method_to_proc(VALUE method) https://github.com/ruby/ruby/blob/trunk/proc.c#L2540 } /* - * 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) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/