From 4113b303566b3d21ac56e503ee456c8f29f1d132 Mon Sep 17 00:00:00 2001 From: stomar Date: Fri, 14 Dec 2018 15:18:14 +0000 Subject: proc.c: [DOC] fix typos git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index c0e93ceab5..c09e845ec0 100644 --- a/proc.c +++ b/proc.c @@ -3386,8 +3386,8 @@ rb_method_compose_to_right(VALUE self, VALUE g) * ["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"] -- cgit v1.2.3