[前][次][番号順一覧][スレッド一覧]

ruby-changes:9068

From: knu <ko1@a...>
Date: Wed, 10 Dec 2008 12:52:05 +0900 (JST)
Subject: [ruby-changes:9068] Ruby:r20605 (ruby_1_8): * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.

knu	2008-12-10 12:51:49 +0900 (Wed, 10 Dec 2008)

  New Revision: 20605

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20605

  Log:
    * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
    * lib/generator.rb (Enumerator#next): Ditto.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/enumerator.c
    branches/ruby_1_8/lib/generator.rb

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 20604)
+++ ruby_1_8/ChangeLog	(revision 20605)
@@ -1,3 +1,9 @@
+Wed Dec 10 12:51:14 2008  Akinori MUSHA  <knu@i...>
+
+	* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
+
+	* lib/generator.rb (Enumerator#next): Ditto.
+
 Tue Dec  9 03:21:37 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* mkconfig.rb: fix for continued lines.  based on a patch from
Index: ruby_1_8/enumerator.c
===================================================================
--- ruby_1_8/enumerator.c	(revision 20604)
+++ ruby_1_8/enumerator.c	(revision 20605)
@@ -386,7 +386,7 @@
  *
  * Returns the next object in the enumerator, and move the internal
  * position forward.  When the position reached at the end, internal
- * position is rewinded then StopIteration is raised.
+ * position is rewound then StopIteration is raised.
  *
  * Note that enumeration sequence by next method does not affect other
  * non-external enumeration methods, unless underlying iteration
Index: ruby_1_8/lib/generator.rb
===================================================================
--- ruby_1_8/lib/generator.rb	(revision 20604)
+++ ruby_1_8/lib/generator.rb	(revision 20605)
@@ -176,7 +176,7 @@
   #
   # Returns the next object in the enumerator, and move the internal
   # position forward.  When the position reached at the end, internal
-  # position is rewinded then StopIteration is raised.
+  # position is rewound then StopIteration is raised.
   #
   # Note that enumeration sequence by next method does not affect other
   # non-external enumeration methods, unless underlying iteration

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]