Sha256: e9f7a54850ba89156cccde9265b53e7dab7a4d4dca39fea4d182cbb100774a46
Contents?: true
Size: 666 Bytes
Versions: 40
Compression:
Stored size: 666 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Resources module Properties class SentenceBreakPropertyImporter < PropertyImporter DATA_FILE = 'ucd/auxiliary/SentenceBreakProperty.txt' PROPERTY_NAME = 'Sentence_Break' 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
Version data entries
40 entries across 40 versions & 2 rubygems