Module: Findit::Cache::ClassMethods

Defined in:
lib/findit/cache.rb

Instance Method Summary collapse

Instance Method Details

#cache_options(&block) ⇒ Object



64
65
66
67
68
# File 'lib/findit/cache.rb', line 64

def cache_options(&block)
  define_method(:cache_options) do
    instance_exec(&block)
  end
end