summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-28 22:22:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-28 22:22:44 +0000
commit6f4bd40a760db2a764147b410957fa084f75dc96 (patch)
treee91c9760327541727c0ba847c688d45aa9cdad2d
parenta611c629dec22593820738a3945d0372c8a8a5c4 (diff)
downloadruby-6f4bd40a760db2a764147b410957fa084f75dc96.tar.gz
ruby-6f4bd40a760db2a764147b410957fa084f75dc96.tar.xz
ruby-6f4bd40a760db2a764147b410957fa084f75dc96.zip
* evalc. (rb_f_send): underscores need to be escaped.
fixed by Doug Kearns. [ruby-core:06053] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--eval.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 40e135e5c..b059c5cc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/eval.c b/eval.c
index 06a1fa1e5..4b5e0eb69 100644
--- a/eval.c
+++ b/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.