Class: TwitterCldr::Resources::Properties::JamoPropertyImporter

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

Constant Summary collapse

DATA_URL =
'ucd/Jamo.txt'
PROPERTY_NAME =
'Jamo_Short_Name'

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

Returns a new instance of JamoPropertyImporter.



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