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-5.0.2.rc1 lib/active_support/multibyte.rb
activesupport-4.2.8 lib/active_support/multibyte.rb
activesupport-4.2.8.rc1 lib/active_support/multibyte.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
abaci-0.3.0 vendor/bundle/gems/activesupport-5.0.0/lib/active_support/multibyte.rb
abaci-0.3.0 vendor/bundle/gems/activesupport-5.0.1/lib/active_support/multibyte.rb
activesupport-5.0.1 lib/active_support/multibyte.rb
activesupport-5.0.1.rc2 lib/active_support/multibyte.rb
activesupport-5.0.1.rc1 lib/active_support/multibyte.rb
second_step-0.1.2 secondstep-notify-1.0.0-osx/lib/ruby/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.1/lib/active_support/multibyte.rb
activesupport-5.0.0.1 lib/active_support/multibyte.rb
activesupport-4.2.7.1 lib/active_support/multibyte.rb
activesupport-4.2.7 lib/active_support/multibyte.rb
activesupport-4.1.16 lib/active_support/multibyte.rb