summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 03:51:49 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 03:51:49 +0000
commite9a07af797eb2e8ce413b5a3b0308c2e0ee88769 (patch)
treef2ab8a88b79eaf98595784f4ff72b7228281348a /lib
parentdfaf61504c3ae4f7d4a7f8dea2d853faba33fbee (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generator.rb b/lib/generator.rb
index 5c8a50ac2e..ac6dfa87e0 100644
--- a/lib/generator.rb
+++ b/lib/generator.rb
@@ -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