summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/irb.rb2
-rw-r--r--lib/prime.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 5c8cb7043d..6c7a9d1eab 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -128,7 +128,7 @@ STDOUT.sync = true
#
# IRB.conf[:PROMPT_MODE] = :MY_PROMPT
#
-# Contants +PROMPT_I+, +PROMPT_S+ and +PROMPT_C+ specify the format. In the
+# Constants +PROMPT_I+, +PROMPT_S+ and +PROMPT_C+ specify the format. In the
# prompt specification, some special strings are available:
#
# %N # command name which is running
diff --git a/lib/prime.rb b/lib/prime.rb
index 4a20d93fb7..7abcbebb0f 100644
--- a/lib/prime.rb
+++ b/lib/prime.rb
@@ -71,7 +71,7 @@ end
#
# A "generator" provides an implementation of enumerating pseudo-prime
# numbers and it remembers the position of enumeration and upper bound.
-# Futhermore, it is a external iterator of prime enumeration which is
+# Furthermore, it is a external iterator of prime enumeration which is
# compatible to an Enumerator.
#
# +Prime+::+PseudoPrimeGenerator+ is the base class for generators.