Sha256: 995c549170615d8f30de4a1e8c3aa4b5f317240e612c30348e66f35998ac9bbf

Contents?: true

Size: 624 Bytes

Versions: 41

Compression:

Stored size: 624 Bytes

Contents

# encoding: UTF-8

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

module TwitterCldr
  module Resources
    module Properties

      class AgePropertyImporter < PropertyImporter
        DATA_FILE = 'ucd/DerivedAge.txt'
        PROPERTY_NAME = 'Age'

        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/age_property_importer.rb