summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 18:36:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 18:36:30 +0000
commitcf41125e3ab4a26292b718192ea717e873dbe684 (patch)
tree047989d017feb895dea487a264e499a49d49b64e /proc.c
parentefd4bbde49ff239681b174a0ec68d393bb992676 (diff)
update Proc#lambda? doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index a609d9ebd0..8caabaecac 100644
--- a/proc.c
+++ b/proc.c
@@ -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