summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--vm_eval.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c14562ed73..9afdea8d41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 30 17:01:12 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
+
+ * vm_eval.c (rb_f_send): fix iobj.send() documentation issue.
+ [Bug #5125] [ruby-core:38633]
+
Thu Dec 29 22:36:16 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* lib/test/unit.rb (Test::Unit::Runner::Worker#_run_parallels): fix
diff --git a/vm_eval.c b/vm_eval.c
index 74f3e162b0..7b37b1002f 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -728,8 +728,8 @@ send_internal(int argc, const VALUE *argv, VALUE recv, call_type scope)
/*
* call-seq:
- * obj.send(symbol [, args...]) -> obj
- * obj.__send__(symbol [, args...]) -> obj
+ * foo.send(symbol [, args...]) -> obj
+ * foo.__send__(symbol [, args...]) -> obj
*
* Invokes the method identified by _symbol_, passing it any
* arguments specified. You can use <code>__send__</code> if the name