Class: Looksy::Cache::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/looksy/cache/null.rb

Instance Method Summary collapse

Instance Method Details

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



4
5
6
# File 'lib/looksy/cache/null.rb', line 4

def fetch(key, options = {}, &block)
  block.call if block_given?
end