Class: DummyStore
- Inherits:
-
ActiveSupport::Cache::Store
- Object
- ActiveSupport::Cache::Store
- DummyStore
- Defined in:
- lib/active_support/cache/dummy_store.rb
Instance Method Summary collapse
- #cleanup(options = nil) ⇒ Object
- #clear(options = nil) ⇒ Object
- #decrement(name, amount = 1, options = nil) ⇒ Object
- #delete_matched(name, options = nil) ⇒ Object
- #increment(name, amount = 1, options = nil) ⇒ Object
Instance Method Details
#cleanup(options = nil) ⇒ Object
13 14 |
# File 'lib/active_support/cache/dummy_store.rb', line 13 def cleanup( = nil) end |
#clear(options = nil) ⇒ Object
16 17 |
# File 'lib/active_support/cache/dummy_store.rb', line 16 def clear( = nil) end |
#decrement(name, amount = 1, options = nil) ⇒ Object
9 10 11 |
# File 'lib/active_support/cache/dummy_store.rb', line 9 def decrement(name, amount = 1, = nil) nil end |
#delete_matched(name, options = nil) ⇒ Object
2 3 |
# File 'lib/active_support/cache/dummy_store.rb', line 2 def delete_matched(name, = nil) end |
#increment(name, amount = 1, options = nil) ⇒ Object
5 6 7 |
# File 'lib/active_support/cache/dummy_store.rb', line 5 def increment(name, amount = 1, = nil) nil end |