Class: TwitterCldr::Resources::Properties::ScriptExtensionsPropertyImporter

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

Constant Summary collapse

DATA_URL =
'ucd/ScriptExtensions.txt'
PROPERTY_NAME =
'Script_Extensions'

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) ⇒ ScriptExtensionsPropertyImporter

Returns a new instance of ScriptExtensionsPropertyImporter.



14
15
16
17
18
19
20
21
22
# File 'lib/twitter_cldr/resources/properties/script_extensions_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