Class: Rx::Cache::NoOpCache
- Inherits:
-
Object
- Object
- Rx::Cache::NoOpCache
- Defined in:
- lib/rx/cache/no_op_cache.rb
Instance Method Summary collapse
Instance Method Details
#cache(k, expires_in = 60) ⇒ Object
4 5 6 |
# File 'lib/rx/cache/no_op_cache.rb', line 4 def cache(k, expires_in = 60) yield end |
#get(k) ⇒ Object
8 9 10 |
# File 'lib/rx/cache/no_op_cache.rb', line 8 def get(k) nil end |
#put(k, v, expires_in = 60) ⇒ Object
12 13 14 |
# File 'lib/rx/cache/no_op_cache.rb', line 12 def put(k, v, expires_in = 60) nil end |