Class: TwitterCldr::Resources::Properties::ScriptPropertyImporter
- Inherits:
-
PropertyImporter
- Object
- UnicodeImporter
- PropertyImporter
- TwitterCldr::Resources::Properties::ScriptPropertyImporter
- Defined in:
- lib/twitter_cldr/resources/properties/script_property_importer.rb
Constant Summary collapse
- DATA_URL =
'ucd/Scripts.txt'
- PROPERTY_NAME =
'Script'
Instance Attribute Summary
Attributes inherited from PropertyImporter
#data_path, #data_url, #database, #input_path, #property_name
Instance Method Summary collapse
-
#initialize(input_path, database) ⇒ ScriptPropertyImporter
constructor
A new instance of ScriptPropertyImporter.
Methods inherited from PropertyImporter
Constructor Details
#initialize(input_path, database) ⇒ ScriptPropertyImporter
Returns a new instance of ScriptPropertyImporter.
14 15 16 17 18 19 20 21 22 |
# File 'lib/twitter_cldr/resources/properties/script_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 |