Class: Rack::Identicon::Caching::NullCacheStore

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/identicon/caching.rb

Instance Method Summary collapse

Instance Method Details

#exist?(key) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/rack/identicon/caching.rb', line 13

def exist? key
  false
end

#fetch(key) ⇒ Object



23
24
25
# File 'lib/rack/identicon/caching.rb', line 23

def fetch key
  yield
end

#read(key) ⇒ Object



17
18
# File 'lib/rack/identicon/caching.rb', line 17

def read key
end

#write(key, data) ⇒ Object



20
21
# File 'lib/rack/identicon/caching.rb', line 20

def write key, data
end