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

ruby-changes:9154

From: yugui <ko1@a...>
Date: Sat, 13 Dec 2008 10:02:55 +0900 (JST)
Subject: [ruby-changes:9154] Ruby:r20691 (ruby_1_9_1): merges r20604 from trunk into ruby_1_9_1.

yugui	2008-12-13 10:01:48 +0900 (Sat, 13 Dec 2008)

  New Revision: 20691

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

  Log:
    merges r20604 from trunk into ruby_1_9_1.
    * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
    * lib/prime.rb (Prime::OldCompatibility#each): Ditto.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/enumerator.c
    branches/ruby_1_9_1/lib/prime.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 20690)
+++ ruby_1_9_1/ChangeLog	(revision 20691)
@@ -1,3 +1,9 @@
+Wed Dec 10 12:46:52 2008  Akinori MUSHA  <knu@i...>
+
+	* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
+
+	* lib/prime.rb (Prime::OldCompatibility#each): Ditto.
+
 Wed Dec 10 11:25:53 2008  NARUSE, Yui  <naruse@r...>
 
 	* re.c (rb_reg_initialize): raise RegexpError when encoding
Index: ruby_1_9_1/enumerator.c
===================================================================
--- ruby_1_9_1/enumerator.c	(revision 20690)
+++ ruby_1_9_1/enumerator.c	(revision 20691)
@@ -498,7 +498,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_9_1/lib/prime.rb
===================================================================
--- ruby_1_9_1/lib/prime.rb	(revision 20690)
+++ ruby_1_9_1/lib/prime.rb	(revision 20691)
@@ -450,7 +450,7 @@
     # Overwrites Prime#each.
     #
     # Iterates the given block over all prime numbers. Note that enumeration starts from
-    # the current position of internal pointer, not rewinded.
+    # the current position of internal pointer, not rewound.
     def each(&block)
       return @generator.dup unless block_given?
       loop do

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

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