Sha256: ce76a8f3f03bcdc40ae541d9d394eb86d6ed5ce8c8329795717a6228ab5be2bf
Contents?: true
Size: 742 Bytes
Versions: 6
Compression:
Stored size: 742 Bytes
Contents
require "string-cases" require "array_enumerator" module AwesomeTranslations path = "#{File.dirname(__FILE__)}/awesome_translations" autoload :Config, "#{path}/config" autoload :ErbInspector, "#{path}/erb_inspector" autoload :GlobalTranslator, "#{path}/global_translator" autoload :Handlers, "#{path}/handlers" autoload :ModelInspector, "#{path}/model_inspector" autoload :ObjectExtensions, "#{path}/object_extensions" autoload :TranslateFunctionality, "#{path}/translate_functionality" def self.config @config ||= AwesomeTranslations::Config.new end def self.load_object_extensions ::Object.__send__(:include, AwesomeTranslations::ObjectExtensions) end end require_relative "awesome_translations/engine"
Version data entries
6 entries across 6 versions & 1 rubygems