Class: TwitterCldr::Resources::SegmentTestsImporter

Inherits:
Importer
  • Object
show all
Defined in:
lib/twitter_cldr/resources/segment_tests_importer.rb

Constant Summary collapse

TEST_FILES =
[
  'ucd/auxiliary/WordBreakTest.txt',
  'ucd/auxiliary/SentenceBreakTest.txt'
]

Constants inherited from Importer

Importer::DEFAULT_ENGINE

Instance Attribute Summary

Attributes inherited from Importer

#params, #requirements

Instance Method Summary collapse

Methods inherited from Importer

#can_import?, default_params, #import, #initialize, locales, output_path, parameter, parameters, #prepare, requirement, requirements, ruby_engine

Constructor Details

This class inherits a constructor from TwitterCldr::Resources::Importer

Instance Method Details

#executeObject



21
22
23
24
25
# File 'lib/twitter_cldr/resources/segment_tests_importer.rb', line 21

def execute
  TEST_FILES.each do |test_file|
    import_test_file(test_file)
  end
end