mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
a610b0a959
commit
cf8c9c3dd1
2 changed files with 7 additions and 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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue