1
0
Fork 0
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:
akr 2007-12-24 18:36:30 +00:00
parent efd4bbde49
commit cf41125e3a

5
proc.c
View file

@ -133,6 +133,11 @@ proc_clone(VALUE self)
* n(&method(:m)) => true
* n(&method(:m)).to_proc => true
*
* class C
* define_method(:d) {}
* end
* C.new.method(:d).to_proc.lambda? => true
*
*/
static VALUE