mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Autoload Multibyte features.
This commit is contained in:
@@ -4,6 +4,12 @@ require 'active_support/core_ext/module/attribute_accessors'
|
||||
|
||||
module ActiveSupport #:nodoc:
|
||||
module Multibyte
|
||||
autoload :EncodingError, 'active_support/multibyte/exceptions'
|
||||
autoload :Chars, 'active_support/multibyte/chars'
|
||||
autoload :UnicodeDatabase, 'active_support/multibyte/unicode_database'
|
||||
autoload :Codepoint, 'active_support/multibyte/unicode_database'
|
||||
autoload :UCD, 'active_support/multibyte/unicode_database'
|
||||
|
||||
# A list of all available normalization forms. See http://www.unicode.org/reports/tr15/tr15-29.html for more
|
||||
# information about normalization.
|
||||
NORMALIZATION_FORMS = [:c, :kc, :d, :kd]
|
||||
@@ -53,7 +59,4 @@ module ActiveSupport #:nodoc:
|
||||
end
|
||||
end
|
||||
|
||||
require 'active_support/multibyte/chars'
|
||||
require 'active_support/multibyte/exceptions'
|
||||
require 'active_support/multibyte/unicode_database'
|
||||
require 'active_support/multibyte/utils'
|
||||
require 'active_support/multibyte/utils'
|
||||
Reference in New Issue
Block a user