Class: TwitterCldr::Resources::Properties::IndicPositionalCategoryPropertyImporter

Inherits:
PropertyImporter show all
Defined in:
lib/twitter_cldr/resources/properties/indic_positional_category_property_importer.rb

Constant Summary collapse

DATA_URL =
'ucd/IndicMatraCategory.txt'
PROPERTY_NAME =
'Indic_Positional_Category'

Instance Attribute Summary

Attributes inherited from PropertyImporter

#data_path, #data_url, #database, #input_path, #property_name

Instance Method Summary collapse

Methods inherited from PropertyImporter

#import

Constructor Details

#initialize(input_path, database) ⇒ IndicPositionalCategoryPropertyImporter

Returns a new instance of IndicPositionalCategoryPropertyImporter.



14
15
16
17
18
19
20
21
22
# File 'lib/twitter_cldr/resources/properties/indic_positional_category_property_importer.rb', line 14

def initialize(input_path, database)
  super(
    input_path: input_path,
    property_name: PROPERTY_NAME,
    data_url: DATA_URL,
    data_path: File.basename(DATA_URL),
    database: database
  )
end