1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

proc.c: [DOC] fix grammar in doc for Method#to_s

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2018-10-26 12:21:22 +00:00
parent 905be736f7
commit 96353b97a5

4
proc.c
View file

@ -2618,8 +2618,8 @@ rb_method_parameters(VALUE method)
* "cat".method(:count).inspect #=> "#<Method: String#count>"
* (1..3).method(:map).inspect #=> "#<Method: Range(Enumerable)#map>"
*
* In the latter case, method description includes the "owner" of original
* method (+Enumerable+ module, which is included into +Range+).
* In the latter case, the method description includes the "owner" of the
* original method (+Enumerable+ module, which is included into +Range+).
*/
static VALUE