Class: CortexReaver::Cache::Noop
- Inherits:
-
Object
- Object
- CortexReaver::Cache::Noop
- Includes:
- Innate::Cache::API
- Defined in:
- lib/cortex_reaver/cache.rb
Instance Method Summary collapse
- #cache_clear ⇒ Object
- #cache_fetch(key, default = nil) ⇒ Object
- #cache_setup(host, user, app, cache) ⇒ Object
- #cache_store(key, value, options = {}) ⇒ Object
- #cached_delete(key, *keys) ⇒ Object
Instance Method Details
#cache_clear ⇒ Object
6 |
# File 'lib/cortex_reaver/cache.rb', line 6 def cache_clear; end |
#cache_fetch(key, default = nil) ⇒ Object
12 13 14 |
# File 'lib/cortex_reaver/cache.rb', line 12 def cache_fetch(key, default = nil) default end |
#cache_setup(host, user, app, cache) ⇒ Object
16 |
# File 'lib/cortex_reaver/cache.rb', line 16 def cache_setup(host, user, app, cache); end |
#cache_store(key, value, options = {}) ⇒ Object
18 19 20 |
# File 'lib/cortex_reaver/cache.rb', line 18 def cache_store(key, value, = {}) value end |
#cached_delete(key, *keys) ⇒ Object
8 9 10 |
# File 'lib/cortex_reaver/cache.rb', line 8 def cached_delete(key, *keys) nil end |