Class: CollectedData

Inherits:
Object
  • Object
show all
Defined in:
ext/encoding/character/utf-8/data/generate-unicode-data.rb

Overview

XXX: cleanup

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bidimirrorObject

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_propsObject

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

#casefoldObject

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_longestObject

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

#cclassObject

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

#compositionsObject

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

#cpsObject

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_compatObject

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

#decompositionsObject

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

#dirObject (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

#excludesObject

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

#indentObject (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

#lastObject (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_e0000Object

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_offsetsObject

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_casesObject

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_lowerObject

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_upperObject

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

#typeObject

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

#valueObject

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