From 2dab996c6072f86c41c624dbdd584f5d2de39438 Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 13 Dec 2008 01:01:48 +0000 Subject: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/prime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/prime.rb b/lib/prime.rb index dd1190a0c7..0c60695c6c 100644 --- a/lib/prime.rb +++ b/lib/prime.rb @@ -450,7 +450,7 @@ class Prime # 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 -- cgit v1.2.3