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
Initializing Codepoint object with default
values
Source:
show
| on GitHub
def initialize
@combining_class = 0
@uppercase_mapping = 0
@lowercase_mapping = 0
end
Instance Public methods
Source:
show
| on GitHub
def swapcase_mapping
uppercase_mapping > 0 ? uppercase_mapping : lowercase_mapping
end