1
0
Fork 0
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:
Nobuyoshi Nakada 2020-04-24 11:06:52 +09:00
parent 0f5ae7a200
commit ac2106acc2
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

4
proc.c
View file

@ -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