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.
39 40 41 |
# File 'lib/api/charset.rb', line 39 def initialize @names = {} end |
Instance Attribute Details
#charset ⇒ Object
Pointer to parent charset
37 38 39 |
# File 'lib/api/charset.rb', line 37 def charset @charset end |
#line ⇒ Object
Line num in the sourcecode
33 34 35 |
# File 'lib/api/charset.rb', line 33 def line @line end |
#str ⇒ Object
How does this char resolve as a string
36 37 38 |
# File 'lib/api/charset.rb', line 36 def str @str end |
Instance Method Details
#sequence? ⇒ Boolean
47 48 49 |
# File 'lib/api/charset.rb', line 47 def sequence? false end |
#virtual? ⇒ Boolean
43 44 45 |
# File 'lib/api/charset.rb', line 43 def virtual? false end |