Sha256: 78a98af088e4bed50874487560fd333f3a10e9f620bfd7aa83208b6cdb51a50b

Contents?: true

Size: 636 Bytes

Versions: 41

Compression:

Stored size: 636 Bytes

Contents

# encoding: UTF-8

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

module TwitterCldr
  module Resources
    module Properties

      class LineBreakPropertyImporter < PropertyImporter
        DATA_FILE = 'ucd/LineBreak.txt'
        PROPERTY_NAME = 'Line_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

41 entries across 41 versions & 2 rubygems

Version Path
twitter_cldr-4.1.0 lib/twitter_cldr/resources/properties/line_break_property_importer.rb