diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-30 12:01:45 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-30 12:03:50 +0900 |
commit | 1680bd4e4f63901ff8ab119540850e7e63f1b7a2 (patch) | |
tree | 7edca6980689e41ce150e23075444dce38fe00e7 | |
parent | ba9adcc1759cda3cb7838b650be1fe197d9ba3ba (diff) | |
download | ruby-1680bd4e4f63901ff8ab119540850e7e63f1b7a2.tar.gz |
[DOC] Return obj may be different from 1st argument [ci skip]
-rw-r--r-- | proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |