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
- #l10n_cache ⇒ Object
-
#l10n_config ⇒ Object
Give access to the mack l10n config object from anywhere inside the application.
- #l10n_formatter ⇒ Object
- #l10n_translator ⇒ Object
Instance Method Details
#l10n_cache ⇒ Object
9 10 11 |
# File 'lib/mack-localization/content_cache.rb', line 9 def l10n_cache Mack::Localization::ContentCache end |
#l10n_config ⇒ Object
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_formatter ⇒ Object
115 116 117 |
# File 'lib/mack-localization/formatter.rb', line 115 def l10n_formatter Mack::Localization::Formatter.instance end |
#l10n_translator ⇒ Object
115 116 117 |
# File 'lib/mack-localization/translator.rb', line 115 def l10n_translator Mack::Localization::Translator.instance end |