ruby-changes:5303
From: knu <ko1@a...>
Date: Wed, 4 Jun 2008 15:47:12 +0900 (JST)
Subject: [ruby-changes:5303] Ruby:r16802 (trunk): * enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
knu 2008-06-04 15:46:54 +0900 (Wed, 04 Jun 2008)
New Revision: 16802
Modified files:
trunk/ChangeLog
trunk/enumerator.c
Log:
* enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
grammo in rdoc.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16802&r2=16801&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enumerator.c?r1=16802&r2=16801&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 16801)
+++ ChangeLog (revision 16802)
@@ -1,3 +1,8 @@
+Wed Jun 4 15:45:41 2008 Akinori MUSHA <knu@i...>
+
+ * enumerator.c (enumerator_with_index, enumerator_with_memo): Fix
+ grammo in rdoc.
+
Wed Jun 4 13:06:58 2008 Nobuyoshi Nakada <nobu@r...>
* configure.in (CFLAGS, CXXFLAGS): include additional flags to
Index: enumerator.c
===================================================================
--- enumerator.c (revision 16801)
+++ enumerator.c (revision 16802)
@@ -335,7 +335,7 @@
* 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 @@
/*
* 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.
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/