Module
I18n::Backend::Cache
In:
lib/i18n/backend/cache.rb
TODO Should the cache be cleared if new translations are stored?
Methods
fetch
fetch_ignoring_procs
fetch_storing_missing_translation_exception
translate
Public Instance methods
translate
(locale, key, options = {})
Protected Instance methods
fetch
(cache_key, &block)
fetch_ignoring_procs
(cache_key) {|.tap do |result| I18n.cache_store.write(cache_key, result) unless result.is_a?(Proc)| ...}
fetch_storing_missing_translation_exception
(cache_key, &block)
[Validate]