Module: Slices::I18n::Backend::Implementation
- Includes:
- I18n::Backend::Base, I18n::Backend::Flatten
- Included in:
- Slices::I18n::Backend
- Defined in:
- lib/slices/i18n/backend.rb
Instance Method Summary collapse
- #available_locales ⇒ Object
-
#store_translations(locale, data, options = {}) ⇒ Object
This method receives a locale, a data hash and options for storing translations.
Instance Method Details
#available_locales ⇒ Object
14 15 16 |
# File 'lib/slices/i18n/backend.rb', line 14 def available_locales raise NotImplementedError end |
#store_translations(locale, data, options = {}) ⇒ Object
This method receives a locale, a data hash and options for storing translations. Should be implemented
10 11 12 |
# File 'lib/slices/i18n/backend.rb', line 10 def store_translations(locale, data, = {}) raise NotImplementedError end |