summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
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