Sha256: 4e51cf1866e3d7ac71bedd1ecf0758638a6a5ad9b60977fd3817a5bdbc42fcea

Contents?: true

Size: 689 Bytes

Versions: 23

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

23 entries across 23 versions & 3 rubygems

Version Path
activesupport-5.1.7 lib/active_support/multibyte.rb
activesupport-5.1.7.rc1 lib/active_support/multibyte.rb
activesupport-5.1.6.2 lib/active_support/multibyte.rb
activesupport-5.1.6.1 lib/active_support/multibyte.rb
activesupport-5.1.6 lib/active_support/multibyte.rb
tdiary-5.0.8 vendor/bundle/gems/activesupport-5.1.5/lib/active_support/multibyte.rb
activesupport-5.1.5 lib/active_support/multibyte.rb
activesupport-5.1.5.rc1 lib/active_support/multibyte.rb
pract6-0.1.0 .gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte.rb
activesupport-5.1.4 lib/active_support/multibyte.rb
activesupport-5.1.4.rc1 lib/active_support/multibyte.rb
activesupport-5.1.3 lib/active_support/multibyte.rb
activesupport-5.1.3.rc3 lib/active_support/multibyte.rb
activesupport-5.1.3.rc2 lib/active_support/multibyte.rb
activesupport-5.1.3.rc1 lib/active_support/multibyte.rb
tdiary-5.0.5 vendor/bundle/gems/activesupport-5.1.2/lib/active_support/multibyte.rb
activesupport-5.1.2 lib/active_support/multibyte.rb
activesupport-5.1.2.rc1 lib/active_support/multibyte.rb
activesupport-5.1.1 lib/active_support/multibyte.rb
activesupport-5.1.0 lib/active_support/multibyte.rb