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
This commit is contained in:
nobu 2018-03-21 15:46:15 +00:00
Родитель 58fbe69a5b
Коммит 365338d9d6
1 изменённых файлов: 1 добавлений и 3 удалений

4
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 {}