diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-21 09:14:27 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-21 09:14:27 +0000 |
| commit | a847df14ca784a8bfd7d6daef936bdec58e9b2dc (patch) | |
| tree | 054af88d57b43f7e6965a9c3555de7f618b130a4 | |
| parent | 003486341d21990b25edbedfbf46fceeea1e12b4 (diff) | |
merges r23665 from trunk into ruby_1_9_1.
--
* lib/prime.rb: documentation typo fixed. a patch from okkez.
[ruby-dev:38586]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/prime.rb | 4 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 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 ce71d5e00f..4114beb292 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 @@ -1,6 +1,6 @@ #define RUBY_VERSION "1.9.1" #define RUBY_RELEASE_DATE "2009-05-22" -#define RUBY_PATCHLEVEL 172 +#define RUBY_PATCHLEVEL 173 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |
