aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/xmp.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-20 03:30:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-20 03:30:59 +0000
commitc9dd4823d98141754842c0b356b141d94ba36604 (patch)
treef2b25b637c22571cfc5c1eed76ee62b19520b47f /lib/irb/xmp.rb
parent772cc7a4f212fa3249f88c98b19645beb7f3d199 (diff)
downloadruby-c9dd4823d98141754842c0b356b141d94ba36604.tar.gz
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/xmp.rb')
-rw-r--r--lib/irb/xmp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/xmp.rb b/lib/irb/xmp.rb
index 1a58026f45..bcef964020 100644
--- a/lib/irb/xmp.rb
+++ b/lib/irb/xmp.rb
@@ -75,7 +75,7 @@ class XMP
if @encoding and exps.encoding != @encoding
enc = Encoding.compatible?(@exps.join("\n"), exps)
if enc.nil?
- raise Encoding::CompatibilityError, "Encoding in which the passed exression is encoded is not compatible to the preceding's one"
+ raise Encoding::CompatibilityError, "Encoding in which the passed expression is encoded is not compatible to the preceding's one"
else
@encoding = enc
end