mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
772cc7a4f2
commit
c9dd4823d9
21 changed files with 32 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue