Class: Jouba::Cache::Null

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

Instance Method Summary collapse

Instance Method Details

#fetch(_) ⇒ Object



6
7
8
# File 'lib/jouba/cache.rb', line 6

def fetch(_)
  yield
end

#refresh(_, _) ⇒ Object



10
11
12
# File 'lib/jouba/cache.rb', line 10

def refresh(_, _)
  yield
end