mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
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
This commit is contained in:
parent
003486341d
commit
a847df14ca
3 changed files with 8 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue