summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-14 15:18:14 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-14 15:18:14 +0000
commit4113b303566b3d21ac56e503ee456c8f29f1d132 (patch)
tree259e7a7b3aae27edfc5a002572896eb4fb03681e
parent6ecafe0c9865c4187bbf4037fb4e4ac4115e3847 (diff)
proc.c: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--proc.c4
1 files changed, 2 insertions, 2 deletions
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"]