mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Return obj may be different from 1st argument [ci skip]
This commit is contained in:
parent
ba9adcc175
commit
1680bd4e4f
1 changed files with 3 additions and 3 deletions
6
proc.c
6
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue