ActiveSupport::Multibyte::Unicode::Codepoint

Holds data about a codepoint in the Unicode database.

Methods
N
S
Attributes
[RW] code
[RW] combining_class
[RW] decomp_mapping
[RW] decomp_type
[RW] lowercase_mapping
[RW] uppercase_mapping
Class Public methods
new()

Initializing Codepoint object with default values

# File activesupport/lib/active_support/multibyte/unicode.rb, line 299
def initialize
  @combining_class = 0
  @uppercase_mapping = 0
  @lowercase_mapping = 0
end
Instance Public methods
swapcase_mapping()
# File activesupport/lib/active_support/multibyte/unicode.rb, line 305
def swapcase_mapping
  uppercase_mapping > 0 ? uppercase_mapping : lowercase_mapping
end