summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-30 12:01:45 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-30 12:03:50 +0900
commit1680bd4e4f63901ff8ab119540850e7e63f1b7a2 (patch)
tree7edca6980689e41ce150e23075444dce38fe00e7
parentba9adcc1759cda3cb7838b650be1fe197d9ba3ba (diff)
[DOC] Return obj may be different from 1st argument [ci skip]
-rw-r--r--proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proc.c b/proc.c
index 0d8c4cd9fe..dd2fcfd957 100644
--- a/proc.c
+++ b/proc.c
@@ -2411,11 +2411,11 @@ umethod_bind(VALUE method, VALUE recv)
/*
* call-seq:
- * umeth.bind_call(obj, args, ...) -> obj
+ * umeth.bind_call(recv, args, ...) -> obj
*
- * Bind <i>umeth</i> to <i>obj</i> and then invokes the method with the
+ * Bind <i>umeth</i> to <i>recv</i> and then invokes the method with the
* specified arguments.
- * This is semantically equivalent to <code>umeth.bind(obj).call(args, ...)</code>.
+ * This is semantically equivalent to <code>umeth.bind(recv).call(args, ...)</code>.
*/
static VALUE
umethod_bind_call(int argc, VALUE *argv, VALUE method)