Module: CacheWithSettings::Helpers
- Defined in:
- lib/cache_with_settings.rb
Instance Method Summary collapse
Instance Method Details
#cache(key, options = {}, &block) ⇒ Object
6 7 8 9 10 |
# File 'lib/cache_with_settings.rb', line 6 def cache(key, = {}, &block) super(cache_with_settings_compose_key(key), ) do yield(block) end end |