* evalc. (rb_f_send): underscores need to be escaped.

fixed by Doug Kearns.  [ruby-core:06053]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-09-28 22:22:44 +00:00
Родитель d4849b189d
Коммит c7ffe40f11
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Sep 29 07:22:05 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* evalc. (rb_f_send): underscores need to be escaped.
fixed by Doug Kearns. [ruby-core:06053]
Thu Sep 29 00:57:35 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (ev_const_get), variable.c (rb_const_get_0): retry only when

2
eval.c
Просмотреть файл

@ -5846,7 +5846,7 @@ send_fcall(int argc, VALUE *argv, VALUE recv, int scope)
* obj.__send__(symbol [, args...]) => obj
*
* Invokes the method identified by _symbol_, passing it any
* arguments specified. You can use <code>__send__</code> if the name
* arguments specified. You can use <code>\_\_send__</code> if the name
* +send+ clashes with an existing method in _obj_. Raises an
* NoMethodError exception for private methods except when it is
* called in function call style.