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