summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/prime.rb4
1 files changed, 2 insertions, 2 deletions
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