class ConfigReader

Constants

CONFIG_PATH

Public Class Methods

accents_mapping() click to toggle source
# File lib/core_extended/config_reader.rb, line 13
def self.accents_mapping
  @accents_mapping ||= yaml('accents_mapping.yml').freeze
end
case_extension() click to toggle source
# File lib/core_extended/config_reader.rb, line 17
def self.case_extension
  @case_extension ||= yaml('case_extension.yml').freeze
end
similar_character_mapping() click to toggle source
# File lib/core_extended/config_reader.rb, line 9
def self.similar_character_mapping
  @similar_character_mapping ||= yaml('similar_character_mapping.yml').freeze
end
yaml(filename) click to toggle source
# File lib/core_extended/config_reader.rb, line 5
def self.yaml(filename)
 YAML.load_file File.join(CONFIG_PATH, filename)
end