Module: I18n::Backend::Memoize
- Defined in:
- lib/active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb
Instance Method Summary collapse
- #available_locales ⇒ Object
- #reload! ⇒ Object
- #store_translations(locale, data, options = {}) ⇒ Object
Instance Method Details
#available_locales ⇒ Object
15 16 17 |
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb', line 15 def available_locales @memoized_locales ||= super end |
#reload! ⇒ Object
24 25 26 27 |
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb', line 24 def reload! reset_memoizations! super end |
#store_translations(locale, data, options = {}) ⇒ Object
19 20 21 22 |
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb', line 19 def store_translations(locale, data, = {}) reset_memoizations!(locale) super end |