Module: CacheWithSettings::Helpers

Defined in:
lib/cache_with_settings.rb

Instance Method Summary collapse

Instance Method Details

#cache(key, options = {}, &block) ⇒ Object



8
9
10
11
12
# File 'lib/cache_with_settings.rb', line 8

def cache(key, options = {}, &block)
  super(cache_with_settings_compose_key(key), options) do
    yield(block)
  end
end