Class: Glaemscribe::API::Charset::Char
Instance Attribute Summary collapse
-
#charset ⇒ Object
Pointer to parent charset.
-
#code ⇒ Object
Position in unicode.
-
#line ⇒ Object
Line num in the sourcecode.
-
#names ⇒ Object
Names.
-
#str ⇒ Object
How does this char resolve as a string.
Instance Method Summary collapse
-
#initialize ⇒ Char
constructor
A new instance of Char.
- #sequence? ⇒ Boolean
- #virtual? ⇒ Boolean
Constructor Details
#initialize ⇒ Char
Returns a new instance of Char.
80 81 82 |
# File 'lib/api/charset.rb', line 80 def initialize @names = {} end |
Instance Attribute Details
#charset ⇒ Object
Pointer to parent charset
78 79 80 |
# File 'lib/api/charset.rb', line 78 def charset @charset end |
#line ⇒ Object
Line num in the sourcecode
74 75 76 |
# File 'lib/api/charset.rb', line 74 def line @line end |
#str ⇒ Object
How does this char resolve as a string
77 78 79 |
# File 'lib/api/charset.rb', line 77 def str @str end |
Instance Method Details
#sequence? ⇒ Boolean
88 89 90 |
# File 'lib/api/charset.rb', line 88 def sequence? false end |
#virtual? ⇒ Boolean
84 85 86 |
# File 'lib/api/charset.rb', line 84 def virtual? false end |