Module: Cache::Nothing
- Defined in:
- lib/cache/nothing.rb
Instance Method Summary collapse
- #_delete(k) ⇒ Object
- #_exist?(k) ⇒ Boolean
- #_fetch(k, ttl) ⇒ Object
- #_flush ⇒ Object
- #_get(k) ⇒ Object
- #_get_multi(ks) ⇒ Object
- #_set(k, v, ttl) ⇒ Object
- #_stats ⇒ Object
Instance Method Details
#_delete(k) ⇒ Object
13 |
# File 'lib/cache/nothing.rb', line 13 def _delete(k); end |
#_exist?(k) ⇒ 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 |
#_flush ⇒ Object
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 |
#_stats ⇒ Object
19 |
# File 'lib/cache/nothing.rb', line 19 def _stats; end |