Sha256: 1fb2d8ae7be7a4a95692599db50627db5f4b00935ebaadbf0332643e5e6ce4ce

Contents?: true

Size: 689 Bytes

Versions: 184

Compression:

Stored size: 689 Bytes

Contents

module ActiveSupport #:nodoc:
  module Multibyte
    autoload :Chars, 'active_support/multibyte/chars'
    autoload :Unicode, 'active_support/multibyte/unicode'

    # The proxy class returned when calling mb_chars. You can use this accessor
    # to configure your own proxy class so you can support other encodings. See
    # the ActiveSupport::Multibyte::Chars implementation for an example how to
    # do this.
    #
    #   ActiveSupport::Multibyte.proxy_class = CharsForUTF32
    def self.proxy_class=(klass)
      @proxy_class = klass
    end

    # Returns the current proxy class.
    def self.proxy_class
      @proxy_class ||= ActiveSupport::Multibyte::Chars
    end
  end
end

Version data entries

184 entries across 176 versions & 18 rubygems

Version Path
activesupport-4.2.9.rc2 lib/active_support/multibyte.rb
activesupport-5.0.4 lib/active_support/multibyte.rb
activesupport-5.0.4.rc1 lib/active_support/multibyte.rb
activesupport-4.2.9.rc1 lib/active_support/multibyte.rb
activesupport-5.0.3 lib/active_support/multibyte.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/activesupport-4.2.8/lib/active_support/multibyte.rb
lazy_record-0.2.1 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.2.0 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.9 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.8 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.7 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.6 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.4 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
tdiary-5.0.4 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.3 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.2 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.1 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
lazy_record-0.1.0 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb
activesupport-5.0.2 lib/active_support/multibyte.rb