Module: Cache::Nothing

Defined in:
lib/cache/nothing.rb

Instance Method Summary collapse

Instance Method Details

#_delete(k) ⇒ Object



13
# File 'lib/cache/nothing.rb', line 13

def _delete(k); end

#_exist?(k) ⇒ Boolean

Returns:

  • (Boolean)


17
# File 'lib/cache/nothing.rb', line 17

def _exist?(k); end

#_fetch(k, ttl) ⇒ Object



9
10
11
# File 'lib/cache/nothing.rb', line 9

def _fetch(k, ttl)
  yield if block_given?
end

#_flushObject



15
# File 'lib/cache/nothing.rb', line 15

def _flush; end

#_get(k) ⇒ Object



3
# File 'lib/cache/nothing.rb', line 3

def _get(k); end

#_get_multi(ks) ⇒ Object



5
# File 'lib/cache/nothing.rb', line 5

def _get_multi(ks); {}; end

#_set(k, v, ttl) ⇒ Object



7
# File 'lib/cache/nothing.rb', line 7

def _set(k, v, ttl); end

#_statsObject



19
# File 'lib/cache/nothing.rb', line 19

def _stats; end