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 | 70c5d57da4bb707fb5182d1d9ad97d468ba8afa0 (patch) | |
tree | fd26715055916988f4c23446155b51d7204d9682 /proc.c | |
parent | a708a7a176ed20ca6d9e441c179c4a1af77f927b (diff) | |
download | ruby-70c5d57da4bb707fb5182d1d9ad97d468ba8afa0.tar.gz |
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 {} |