class TwitterCldr::Resources::Properties::ScriptExtensionsPropertyImporter

Constants

DATA_FILE
PROPERTY_NAME

Public Instance Methods

property_name() click to toggle source
# File lib/twitter_cldr/resources/properties/script_extensions_property_importer.rb, line 18
def property_name
  PROPERTY_NAME
end

Private Instance Methods

load() click to toggle source
# File lib/twitter_cldr/resources/properties/script_extensions_property_importer.rb, line 28
def load
  super do |data, ret|
    code_points = expand_range(data[0])
    property_values = data[1].split(' ')

    property_values.each do |property_value|
      ret[property_name][property_value] += code_points
    end
  end
end
source_path() click to toggle source
# File lib/twitter_cldr/resources/properties/script_extensions_property_importer.rb, line 24
def source_path
  requirements[:unicode].source_path_for(DATA_FILE)
end