diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-11 06:29:06 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-11 06:29:06 +0000 |
| commit | aa4d218a0e769f3d9a53aff75de1df070b687eff (patch) | |
| tree | f2516467d8c5200fd51d96dd5d9cfbcdf03b3cde /lib | |
| parent | 74ec8a777bf91f3c5994c196aa4e58f507ace5f2 (diff) | |
| download | ruby-aa4d218a0e769f3d9a53aff75de1df070b687eff.tar.gz ruby-aa4d218a0e769f3d9a53aff75de1df070b687eff.tar.xz ruby-aa4d218a0e769f3d9a53aff75de1df070b687eff.zip | |
* lib/prime.rb: documentation typo fixed. a patch from okkez.
[ruby-dev:38586]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/prime.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prime.rb b/lib/prime.rb index ec3f8fa8c..50b78d9b0 100644 --- a/lib/prime.rb +++ b/lib/prime.rb @@ -118,7 +118,7 @@ class Prime # if no block given. # # == Description - # Calls +block+ once for each prime numer, passing the prime as + # Calls +block+ once for each prime number, passing the prime as # a parameter. # # +ubound+:: @@ -127,7 +127,7 @@ class Prime # # == Note # +Prime+.+new+ returns a object extended by +Prime+::+OldCompatibility+ - # in order to compatibility to Ruby 1.9, and +Prime+#each is overwritten + # in order to compatibility to Ruby 1.8, and +Prime+#each is overwritten # by +Prime+::+OldCompatibility+#+each+. # # +Prime+.+new+ is now obsolete. Use +Prime+.+instance+.+each+ or simply |
