Module: I18n::Backend::Memoize

Defined in:
lib/i18n/backend/memoize.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) available_locales



13
14
15
# File 'lib/i18n/backend/memoize.rb', line 13

def available_locales
  @memoized_locales ||= super
end

- (Object) reload!



22
23
24
25
# File 'lib/i18n/backend/memoize.rb', line 22

def reload!
  reset_memoizations!
  super
end

- (Object) store_translations(locale, data, options = {})



17
18
19
20
# File 'lib/i18n/backend/memoize.rb', line 17

def store_translations(locale, data, options = {})
  reset_memoizations!(locale)
  super
end