ruby-changes:54181
From: stomar <ko1@a...>
Date: Sat, 15 Dec 2018 00:18:20 +0900 (JST)
Subject: [ruby-changes:54181] stomar:r66402 (trunk): proc.c: [DOC] fix typos
stomar 2018-12-15 00:18:14 +0900 (Sat, 15 Dec 2018) New Revision: 66402 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66402 Log: proc.c: [DOC] fix typos Modified files: trunk/proc.c Index: proc.c =================================================================== --- proc.c (revision 66401) +++ proc.c (revision 66402) @@ -3386,8 +3386,8 @@ rb_method_compose_to_right(VALUE self, V https://github.com/ruby/ruby/blob/trunk/proc.c#L3386 * ["Bob", "Jane"].map(&hi) #=> ["Hi, Bob!", "Hi, Jane!"] * ["Bob", "Jane"].map(&hey) #=> ["Hey, Bob!", "Hey, Jane!"] * - * Of Ruby the core classes, this method is implemented by Symbol, - * Method and Hash. + * Of the Ruby core classes, this method is implemented by Symbol, + * Method, and Hash. * * :to_s.to_proc.call(1) #=> "1" * [1, 2].map(&:to_s) #=> ["1", "2"] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/