diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-09 01:04:46 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-09 01:04:46 +0000 |
commit | 861219ce4a8c91a6d94c0d138c2f2bf2b3c2337e (patch) | |
tree | af62e80ee75bdbc02137390728ac6ebb2375231e /proc.c | |
parent | 0d3f9dbfe1ab1696d1c9b1ef46c9da4af786e629 (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.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -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) |