mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update Proc#lambda? doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
efd4bbde49
commit
cf41125e3a
1 changed files with 5 additions and 0 deletions
5
proc.c
5
proc.c
|
@ -133,6 +133,11 @@ proc_clone(VALUE self)
|
||||||
* n(&method(:m)) => true
|
* n(&method(:m)) => true
|
||||||
* n(&method(:m)).to_proc => true
|
* n(&method(:m)).to_proc => true
|
||||||
*
|
*
|
||||||
|
* class C
|
||||||
|
* define_method(:d) {}
|
||||||
|
* end
|
||||||
|
* C.new.method(:d).to_proc.lambda? => true
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue