Class: CollectedData
- Inherits:
-
Object
- Object
- CollectedData
- Defined in:
- ext/encoding/character/utf-8/data/generate-unicode-data.rb
Overview
XXX: cleanup
Instance Attribute Summary collapse
-
#bidimirror ⇒ Object
Returns the value of attribute bidimirror.
-
#break_props ⇒ Object
Returns the value of attribute break_props.
-
#casefold ⇒ Object
Returns the value of attribute casefold.
-
#casefold_longest ⇒ Object
Returns the value of attribute casefold_longest.
-
#cclass ⇒ Object
Returns the value of attribute cclass.
-
#compositions ⇒ Object
Returns the value of attribute compositions.
-
#cps ⇒ Object
Returns the value of attribute cps.
-
#decompose_compat ⇒ Object
Returns the value of attribute decompose_compat.
-
#decompositions ⇒ Object
Returns the value of attribute decompositions.
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
-
#excludes ⇒ Object
Returns the value of attribute excludes.
-
#indent ⇒ Object
readonly
Returns the value of attribute indent.
-
#last ⇒ Object
readonly
Returns the value of attribute last.
-
#pages_before_e0000 ⇒ Object
Returns the value of attribute pages_before_e0000.
-
#special_case_offsets ⇒ Object
Returns the value of attribute special_case_offsets.
-
#special_cases ⇒ Object
Returns the value of attribute special_cases.
-
#title_to_lower ⇒ Object
Returns the value of attribute title_to_lower.
-
#title_to_upper ⇒ Object
Returns the value of attribute title_to_upper.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(dir = '.', indent = "\t") ⇒ CollectedData
constructor
A new instance of CollectedData.
Constructor Details
#initialize(dir = '.', indent = "\t") ⇒ CollectedData
Returns a new instance of CollectedData.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 112 def initialize(dir = '.', indent = "\t") @dir = dir @indent = indent @cps = [] @excludes = nil @pages_before_e0000 = 0 @last = 0x10ffff @type = [] @value = [] @title_to_lower = {} @title_to_upper = {} @cclass = [] @decompose_compat = [] @compositions = {} @decompositions = [] @break_props = [] @special_case_offsets = [] @special_cases = [] @casefold = [] @casefold_longest = -1 @bidimirror = [] end |
Instance Attribute Details
#bidimirror ⇒ Object
Returns the value of attribute bidimirror.
155 156 157 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 155 def bidimirror @bidimirror end |
#break_props ⇒ Object
Returns the value of attribute break_props.
150 151 152 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 150 def break_props @break_props end |
#casefold ⇒ Object
Returns the value of attribute casefold.
153 154 155 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 153 def casefold @casefold end |
#casefold_longest ⇒ Object
Returns the value of attribute casefold_longest.
154 155 156 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 154 def casefold_longest @casefold_longest end |
#cclass ⇒ Object
Returns the value of attribute cclass.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def cclass @cclass end |
#compositions ⇒ Object
Returns the value of attribute compositions.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def compositions @compositions end |
#cps ⇒ Object
Returns the value of attribute cps.
144 145 146 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 144 def cps @cps end |
#decompose_compat ⇒ Object
Returns the value of attribute decompose_compat.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def decompose_compat @decompose_compat end |
#decompositions ⇒ Object
Returns the value of attribute decompositions.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def decompositions @decompositions end |
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
142 143 144 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 142 def dir @dir end |
#excludes ⇒ Object
Returns the value of attribute excludes.
145 146 147 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 145 def excludes @excludes end |
#indent ⇒ Object (readonly)
Returns the value of attribute indent.
143 144 145 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 143 def indent @indent end |
#last ⇒ Object (readonly)
Returns the value of attribute last.
147 148 149 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 147 def last @last end |
#pages_before_e0000 ⇒ Object
Returns the value of attribute pages_before_e0000.
146 147 148 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 146 def pages_before_e0000 @pages_before_e0000 end |
#special_case_offsets ⇒ Object
Returns the value of attribute special_case_offsets.
151 152 153 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 151 def special_case_offsets @special_case_offsets end |
#special_cases ⇒ Object
Returns the value of attribute special_cases.
152 153 154 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 152 def special_cases @special_cases end |
#title_to_lower ⇒ Object
Returns the value of attribute title_to_lower.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def title_to_lower @title_to_lower end |
#title_to_upper ⇒ Object
Returns the value of attribute title_to_upper.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def title_to_upper @title_to_upper end |
#type ⇒ Object
Returns the value of attribute type.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def type @type end |
#value ⇒ Object
Returns the value of attribute value.
148 149 150 |
# File 'ext/encoding/character/utf-8/data/generate-unicode-data.rb', line 148 def value @value end |