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.1.rc1 lib/active_support/multibyte.rb
activejob-lock-0.0.1 rails/activesupport/lib/active_support/multibyte.rb
activesupport-4.0.13 lib/active_support/multibyte.rb
activesupport-4.1.9 lib/active_support/multibyte.rb
activesupport-4.1.9.rc1 lib/active_support/multibyte.rb
activesupport-4.0.13.rc1 lib/active_support/multibyte.rb
activesupport-4.2.0 lib/active_support/multibyte.rb
activesupport-4.2.0.rc3 lib/active_support/multibyte.rb
activesupport-4.2.0.rc2 lib/active_support/multibyte.rb
activesupport-4.2.0.rc1 lib/active_support/multibyte.rb
activesupport-4.1.7.1 lib/active_support/multibyte.rb
activesupport-4.0.11.1 lib/active_support/multibyte.rb
activesupport-4.1.8 lib/active_support/multibyte.rb
activesupport-4.0.12 lib/active_support/multibyte.rb
activesupport-4.2.0.beta4 lib/active_support/multibyte.rb
activesupport-4.2.0.beta3 lib/active_support/multibyte.rb
activesupport-4.1.7 lib/active_support/multibyte.rb
activesupport-4.0.11 lib/active_support/multibyte.rb
activesupport-4.2.0.beta2 lib/active_support/multibyte.rb
nanumfont-rails-0.1 vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte.rb