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 | cf8c9c3dd175c689092f22590104d828cd54f1b4 (patch) | |
tree | f2516467d8c5200fd51d96dd5d9cfbcdf03b3cde | |
parent | a610b0a959c58099597fcfa52443b806a7b3ab7f (diff) | |
download | ruby-cf8c9c3dd175c689092f22590104d828cd54f1b4.tar.gz |
* lib/prime.rb: documentation typo fixed. a patch from okkez.
[ruby-dev:38586]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/prime.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Jun 11 15:27:17 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * lib/prime.rb: documentation typo fixed. a patch from okkez. + [ruby-dev:38586] + Wed Jun 10 18:15:17 2009 NAKAMURA Usaku <usa@ruby-lang.org> * dir.c (dir_s_getwd): directory path's encoding should be filesystem's diff --git a/lib/prime.rb b/lib/prime.rb index ec3f8fa8cb..50b78d9b0e 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 |