Module: CacheWithLocale::Helpers
- Defined in:
- lib/cache_with_locale/helpers.rb
Instance Method Summary collapse
Instance Method Details
#cache(key, options = {}, &block) ⇒ Object
3 4 5 6 7 |
# File 'lib/cache_with_locale/helpers.rb', line 3 def cache(key, = {}, &block) super(cache_with_locale_compose_key(key), ) do yield(block) end end |