Class: Glaemscribe::API::Charset::Char

Inherits:
Object
  • Object
show all
Defined in:
lib/api/charset.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChar

Returns a new instance of Char.



80
81
82
# File 'lib/api/charset.rb', line 80

def initialize
  @names = {}
end

Instance Attribute Details

#charsetObject

Pointer to parent charset



78
79
80
# File 'lib/api/charset.rb', line 78

def charset
  @charset
end

#codeObject

Position in unicode



75
76
77
# File 'lib/api/charset.rb', line 75

def code
  @code
end

#lineObject

Line num in the sourcecode



74
75
76
# File 'lib/api/charset.rb', line 74

def line
  @line
end

#namesObject

Names



76
77
78
# File 'lib/api/charset.rb', line 76

def names
  @names
end

#strObject

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

Returns:

  • (Boolean)


88
89
90
# File 'lib/api/charset.rb', line 88

def sequence?
  false
end

#virtual?Boolean

Returns:

  • (Boolean)


84
85
86
# File 'lib/api/charset.rb', line 84

def virtual?
  false
end