Class: Object

Inherits:
BasicObject
Defined in:
lib/mack-localization/formatter.rb,
lib/mack-localization/translator.rb,
lib/mack-localization/configuration.rb,
lib/mack-localization/content_cache.rb

Instance Method Summary collapse

Instance Method Details

#l10n_cacheObject



9
10
11
# File 'lib/mack-localization/content_cache.rb', line 9

def l10n_cache
  Mack::Localization::ContentCache
end

#l10n_configObject

Give access to the mack l10n config object from anywhere inside the application



59
60
61
# File 'lib/mack-localization/configuration.rb', line 59

def l10n_config
  Mack::Localization::Configuration.instance
end

#l10n_formatterObject



115
116
117
# File 'lib/mack-localization/formatter.rb', line 115

def l10n_formatter
  Mack::Localization::Formatter.instance
end

#l10n_translatorObject



115
116
117
# File 'lib/mack-localization/translator.rb', line 115

def l10n_translator
  Mack::Localization::Translator.instance
end