lib/twitter_cldr/resources/properties/jamo_property_importer.rb
# encoding: UTF-8
# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0
module TwitterCldr
module Resources
module Properties
class JamoPropertyImporter < PropertyImporter
DATA_FILE = 'ucd/Jamo.txt'
PROPERTY_NAME = 'Jamo_Short_Name'
requirement :unicode, Versions.unicode_version, [DATA_FILE]
output_path 'unicode_data/properties'
ruby_engine :mri
def property_name
PROPERTY_NAME
end
private
def source_path
requirements[:unicode].source_path_for(DATA_FILE)
end
end
end
end
end