summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-04 06:46:54 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-04 06:46:54 +0000
commit9812a3a49812af438ba15705933e7474f0d242b2 (patch)
treee7b74e21d66f5c9879dba1a63c34a8df1f53a5a0
parent205e542a89c6150edf440d53f82267163526fb93 (diff)
* enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
grammo in rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--enumerator.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 995864ae4f..0d215218e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 4 15:45:41 2008 Akinori MUSHA <knu@iDaemons.org>
+
+ * enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
+ grammo in rdoc.
+
Wed Jun 4 13:06:58 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (CFLAGS, CXXFLAGS): include additional flags to
diff --git a/enumerator.c b/enumerator.c
index 671f1f74c9..afde97e19a 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -335,7 +335,7 @@ enumerator_with_index_i(VALUE val, VALUE *memo)
* e.with_index {|(*args), idx| ... }
* e.with_index
*
- * Iterates the given block for each elements with an index, which
+ * Iterates the given block for each element with an index, which
* start from 0. If no block is given, returns an enumerator.
*
*/
@@ -365,10 +365,10 @@ enumerator_with_memo_i(VALUE val, VALUE memo)
/*
* call-seq:
- * e.with_memo(memo) {|(*args), memo| ... }
- * e.with_memo(memo)
+ * e.with_memo(obj) {|(*args), memo_obj| ... }
+ * e.with_memo(obj)
*
- * Iterates the given block for each elements with an arbitrary
+ * Iterates the given block for each element with an arbitrary
* object given, and returns the memo object.
*
* If no block is given, returns an enumerator.