Skip to content

Commit

Permalink
* lib/prime.rb: documentation typo fixed. a patch from okkez.
Browse files Browse the repository at this point in the history
  [ruby-dev:38586]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Jun 11, 2009
1 parent a610b0a commit cf8c9c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Jun 11 15:27:17 2009 Yukihiro Matsumoto <[email protected]>

* lib/prime.rb: documentation typo fixed. a patch from okkez.
[ruby-dev:38586]

Wed Jun 10 18:15:17 2009 NAKAMURA Usaku <[email protected]>

* dir.c (dir_s_getwd): directory path's encoding should be filesystem's
Expand Down
4 changes: 2 additions & 2 deletions lib/prime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def method_added(method) # :nodoc:
# 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+::
Expand All @@ -127,7 +127,7 @@ def method_added(method) # :nodoc:
#
# == 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
Expand Down

0 comments on commit cf8c9c3

Please sign in to comment.