Class: Pre::CacheStore::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/pre/cache_store/null.rb

Instance Method Summary collapse

Instance Method Details

#fetch(key) ⇒ Object



8
9
10
# File 'lib/pre/cache_store/null.rb', line 8

def fetch key
  yield
end

#read(key) ⇒ Object



4
5
# File 'lib/pre/cache_store/null.rb', line 4

def read key
end

#write(key, val) ⇒ Object



6
7
# File 'lib/pre/cache_store/null.rb', line 6

def write key, val
end