diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-21 15:46:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-21 15:46:15 +0000 |
commit | 365338d9d6a3d681b79787c11993fc3bbccab05c (patch) | |
tree | fd26715055916988f4c23446155b51d7204d9682 /proc.c | |
parent | 58fbe69a5ba2c6c896745dab5e41b3bbd1950015 (diff) |
Remove outdated proc.c binding comment.
Passing a proc as the second argument to eval is no longer supported.
[Fix GH-1843]
From: Tieg Zaharia <tieg.zaharia@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2789,9 +2789,7 @@ env_clone(const rb_env_t *env, const rb_cref_t *cref) * 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. + * Returns the binding associated with <i>prc</i>. * * def fred(param) * proc {} |