diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-10 03:49:48 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-10 03:49:48 +0000 |
| commit | 3da081cdb9ef31dbddd623c486945e0e80c0b46f (patch) | |
| tree | 656d0fd5acf12e7d895885f8f9042fa22428d5a4 /lib/prime.rb | |
| parent | 5c92201dbcead4c049b55db5ded3b4d2a9ac0bf3 (diff) | |
| download | ruby-3da081cdb9ef31dbddd623c486945e0e80c0b46f.tar.gz ruby-3da081cdb9ef31dbddd623c486945e0e80c0b46f.tar.xz ruby-3da081cdb9ef31dbddd623c486945e0e80c0b46f.zip | |
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
* lib/prime.rb (Prime::OldCompatibility#each): Ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/prime.rb')
| -rw-r--r-- | lib/prime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prime.rb b/lib/prime.rb index dd1190a0c..0c60695c6 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 |
