mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
* lib/generator.rb (Enumerator#next): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dfaf61504c
commit
e9a07af797
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Dec 10 12:51:14 2008 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* mkconfig.rb: fix for continued lines. based on a patch from
|
||||
|
|
|
@ -386,7 +386,7 @@ enumerator_with_index(obj)
|
|||
*
|
||||
* 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
|
||||
|
|
|
@ -176,7 +176,7 @@ class Enumerator
|
|||
#
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue