Class: UniProp::UnihanValueGroup
- Inherits:
-
BasePropertyValueGroup
- Object
- BasePropertyValueGroup
- UniProp::UnihanValueGroup
- Defined in:
- lib/uniprop/value_group.rb
Instance Method Summary collapse
-
#initialize(property, shaped_lines) ⇒ UnihanValueGroup
constructor
A new instance of UnihanValueGroup.
Methods inherited from BasePropertyValueGroup
#has_property?, #inspect, #properties, #string_value_including_codepoints, #value_including_codepoints
Methods included from ValueGroup
#codepoints, #values_of, #values_to_codepoints
Constructor Details
#initialize(property, shaped_lines) ⇒ UnihanValueGroup
Returns a new instance of UnihanValueGroup.
244 245 246 247 |
# File 'lib/uniprop/value_group.rb', line 244 def initialize(property, shaped_lines) add_property(property) shaped_lines.each { add_values(_1[0], _1[2..]) } end |