Class: TwitterCldr::Resources::TailoringImporter

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

Defined Under Namespace

Classes: ImportError

Constant Summary collapse

SUPPORTED_RULES =
%w[p s t i pc sc tc ic x comment]
SIMPLE_RULES =
%w[p s t i]
LEVEL_RULE_REGEXP =
/^(p|s|t|i)(c?)$/
IGNORED_TAGS =
%w[reset text #comment comment]
LAST_BYTE_MASK =
0xFF
LOCALES_MAP =
{
  :'zh-Hant' => :'zh_Hant',
  :id => :root,
  :it => :root,
  :ms => :root,
  :nl => :root,
  :pt => :root
}
EMPTY_TAILORING_DATA =
{
  collator_options: {},
  tailored_table: '',
  suppressed_contractions: ''
}

Constants inherited from Importer

Importer::DEFAULT_ENGINE

Instance Attribute Summary

Attributes inherited from Importer

#params, #requirements

Method Summary

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