Class: UnicodeCodepoint
- Inherits:
-
Object
- Object
- UnicodeCodepoint
- Defined in:
- ext/encoding/character/utf-8/data/generate-unicode-data.rb
Overview
XXX: this is too memory consuming to keep like this. We need to split it up like the perl script does in hashes and arrays. Argh!
Instance Attribute Summary collapse
-
#break_props ⇒ Object
Returns the value of attribute break_props.
-
#cclass ⇒ Object
Returns the value of attribute cclass.
-
#code ⇒ Object
Returns the value of attribute code.
-
#compat ⇒ Object
Returns the value of attribute compat.
-
#compositions ⇒ Object
Returns the value of attribute compositions.
-
#decompositions ⇒ Object
Returns the value of attribute decompositions.
-
#lower ⇒ Object
Returns the value of attribute lower.
-
#type ⇒ Object
Returns the value of attribute type.
-
#upper ⇒ Object
Returns the value of attribute upper.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(code) ⇒ UnicodeCodepoint
constructor
A new instance of UnicodeCodepoint.
Constructor Details
#initialize(code) ⇒ UnicodeCodepoint
Returns a new instance of UnicodeCodepoint.
99 100 101 102 103 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 99 def initialize(code) @code = code @type = @value = @lower = @upper = @cclass = @compat = nil @compositions = @decompositions = @break_props = nil end |
Instance Attribute Details
#break_props ⇒ Object
Returns the value of attribute break_props.
107 108 109 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 107 def break_props @break_props end |
#cclass ⇒ Object
Returns the value of attribute cclass.
106 107 108 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 106 def cclass @cclass end |
#code ⇒ Object
Returns the value of attribute code.
105 106 107 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 105 def code @code end |
#compat ⇒ Object
Returns the value of attribute compat.
106 107 108 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 106 def compat @compat end |
#compositions ⇒ Object
Returns the value of attribute compositions.
107 108 109 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 107 def compositions @compositions end |
#decompositions ⇒ Object
Returns the value of attribute decompositions.
107 108 109 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 107 def decompositions @decompositions end |
#lower ⇒ Object
Returns the value of attribute lower.
106 107 108 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 106 def lower @lower end |
#type ⇒ Object
Returns the value of attribute type.
106 107 108 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 106 def type @type end |
#upper ⇒ Object
Returns the value of attribute upper.
106 107 108 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 106 def upper @upper end |
#value ⇒ Object
Returns the value of attribute value.
106 107 108 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 106 def value @value end |