Sha256: f5340b6d62c0380b6e370f40616e5b65a04b5747ba31578aebd2c6c6a2ce3d63

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
$LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)

require 'tate/version'

require 'i18n'
require 'yaml'

I18n.load_path << Dir[File.expand_path("lib/config/locales/*.yml")]
I18n.enforce_available_locales = false

module Tate
  def self.transliterate(string, language = nil, replacement = "?".freeze)
    I18n.transliterate(string, locale: language)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tate-1.2.0 lib/tate.rb