aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-21 15:46:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-21 15:46:15 +0000
commit70c5d57da4bb707fb5182d1d9ad97d468ba8afa0 (patch)
treefd26715055916988f4c23446155b51d7204d9682 /proc.c
parenta708a7a176ed20ca6d9e441c179c4a1af77f927b (diff)
downloadruby-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/proc.c b/proc.c
index 08ec25cb3c..7134f68234 100644
--- a/proc.c
+++ b/proc.c
@@ -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 {}