diff options
Diffstat (limited to 'lib/rexml/encodings/US-ASCII.rb')
-rw-r--r-- | lib/rexml/encodings/US-ASCII.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/encodings/US-ASCII.rb b/lib/rexml/encodings/US-ASCII.rb index 32ddfbc909..f4e4527c2d 100644 --- a/lib/rexml/encodings/US-ASCII.rb +++ b/lib/rexml/encodings/US-ASCII.rb @@ -1,6 +1,6 @@ module REXML module Encoding - @@__REXML_encoding_methods =<<-'EOL' + @@__REXML_encoding_methods = %q~ # Convert from UTF-8 def encode content array_utf8 = content.unpack('U*') @@ -20,6 +20,6 @@ module REXML def decode(str) str.unpack('C*').pack('U*') end - EOL + ~ end end |