mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]
This commit is contained in:
parent
0f5ae7a200
commit
ac2106acc2
1 changed files with 2 additions and 2 deletions
4
proc.c
4
proc.c
|
@ -3530,8 +3530,8 @@ rb_method_compose_to_left(VALUE self, VALUE g)
|
|||
* meth >> g -> a_proc
|
||||
*
|
||||
* Returns a proc that is the composition of this method and the given <i>g</i>.
|
||||
* The returned proc takes a variable number of arguments, calls <i>g</i> with them
|
||||
* then calls this method with the result.
|
||||
* The returned proc takes a variable number of arguments, calls this method
|
||||
* with them then calls <i>g</i> with the result.
|
||||
*
|
||||
* def f(x)
|
||||
* x * x
|
||||
|
|
Loading…
Add table
Reference in a new issue