diff options
author | Akira Matsuda <ronnie@dio.jp> | 2014-08-18 04:13:09 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2014-08-18 04:20:20 +0900 |
commit | 80ceb0be7c982150eb2f868ed5e1a56a376fb2cb (patch) | |
tree | 8a256ec7faf7d6c67e4f90572e5a52035d48a8bf /activesupport/lib/active_support/multibyte | |
parent | a485633b16abd64b0955010fa93e0bc4894c7b7c (diff) | |
download | rails-80ceb0be7c982150eb2f868ed5e1a56a376fb2cb.tar.gz rails-80ceb0be7c982150eb2f868ed5e1a56a376fb2cb.tar.bz2 rails-80ceb0be7c982150eb2f868ed5e1a56a376fb2cb.zip |
format
Diffstat (limited to 'activesupport/lib/active_support/multibyte')
-rw-r--r-- | activesupport/lib/active_support/multibyte/unicode.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/multibyte/unicode.rb b/activesupport/lib/active_support/multibyte/unicode.rb index 62caff77a3..a4467e0edc 100644 --- a/activesupport/lib/active_support/multibyte/unicode.rb +++ b/activesupport/lib/active_support/multibyte/unicode.rb @@ -336,7 +336,7 @@ module ActiveSupport begin @codepoints, @composition_exclusion, @composition_map, @boundary, @cp1252 = File.open(self.class.filename, 'rb') { |f| Marshal.load f.read } rescue => e - raise IOError.new("Couldn't load the Unicode tables for UTF8Handler (#{e.message}), ActiveSupport::Multibyte is unusable") + raise IOError.new("Couldn't load the Unicode tables for UTF8Handler (#{e.message}), ActiveSupport::Multibyte is unusable") end # Redefine the === method so we can write shorter rules for grapheme cluster breaks @@ -385,7 +385,6 @@ module ActiveSupport def database @database ||= UnicodeDatabase.new end - end end end |