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

Version Path
twitter_cldr-6.12.1 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.12.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.11.5 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.11.4 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.11.3 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.11.2 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.11.1 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.11.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.10.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.9.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.8.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.7.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.6.2 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.6.1 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.6.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.5.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.4.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.3.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.2.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb
twitter_cldr-6.1.0 lib/twitter_cldr/resources/properties/sentence_break_property_importer.rb