Class/Module Index [+]

Quicksearch

ActiveSupport::Multibyte

Constants

NORMALIZATION_FORMS

A list of all available normalization forms. See www.unicode.org/reports/tr15/tr15-29.html for more information about normalization.

UNICODE_VERSION

The Unicode version that is supported by the implementation

VALID_CHARACTER

Regular expressions that describe valid byte sequences for a character

Public Class Methods

proxy_class() click to toggle source

Returns the currect proxy class

# File lib/active_support/multibyte.rb, line 30
def self.proxy_class
  @proxy_class ||= ActiveSupport::Multibyte::Chars
end
proxy_class=(klass) click to toggle source

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.

Example:

ActiveSupport::Multibyte.proxy_class = CharsForUTF32
# File lib/active_support/multibyte.rb, line 25
def self.proxy_class=(klass)
  @proxy_class = klass
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.