1
0
Fork 0
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:
knu 2008-12-10 03:51:49 +00:00
parent dfaf61504c
commit e9a07af797
3 changed files with 8 additions and 2 deletions

View file

@ -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