summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-09 01:04:46 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-09 01:04:46 +0000
commit861219ce4a8c91a6d94c0d138c2f2bf2b3c2337e (patch)
treeaf62e80ee75bdbc02137390728ac6ebb2375231e /proc.c
parent0d3f9dbfe1ab1696d1c9b1ef46c9da4af786e629 (diff)
fix doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/proc.c b/proc.c
index 6fafa71a98..bad935d62e 100644
--- a/proc.c
+++ b/proc.c
@@ -709,23 +709,6 @@ proc_to_proc(VALUE self)
return self;
}
-/*
- * call-seq:
- * prc.binding => binding
- *
- * Returns the binding associated with <i>prc</i>. Note that
- * <code>Kernel#eval</code> accepts either a <code>Proc</code> or a
- * <code>Binding</code> object as its second parameter.
- *
- * def fred(param)
- * proc {}
- * end
- *
- * b = fred(99)
- * eval("param", b.binding) #=> 99
- * eval("param", b) #=> 99
- */
-
static void
bm_mark(struct METHOD *data)
{
@@ -1587,7 +1570,6 @@ localjump_reason(VALUE exc)
*
* b = fred(99)
* eval("param", b.binding) #=> 99
- * eval("param", b) #=> 99
*/
static VALUE
proc_binding(VALUE self)