class TwitterCldr::Resources::Properties::ArabicShapingPropertyImporter

Constants

DATA_FILE

Private Instance Methods

joining_types() click to toggle source
# File lib/twitter_cldr/resources/properties/arabic_shaping_property_importer.rb, line 33
def joining_types
  TwitterCldr::Shared::Properties::ArabicShaping.joining_types
end
load() click to toggle source
Calls superclass method
# File lib/twitter_cldr/resources/properties/arabic_shaping_property_importer.rb, line 23
def load
  super do |data, ret|
    code_points = expand_range(data[0])
    joining_type = joining_types[data[2].strip.upcase]
    joining_group = format_property_value(data[3])
    ret['Joining_Type'][joining_type] += code_points
    ret['Joining_Group'][joining_group] += code_points
  end
end
source_path() click to toggle source
# File lib/twitter_cldr/resources/properties/arabic_shaping_property_importer.rb, line 19
def source_path
  requirements[:unicode].source_path_for(DATA_FILE)
end