Class: InfoparkComponentCache::Guards::NeverConsistent
- Inherits:
-
ConsistencyGuard
- Object
- ConsistencyGuard
- InfoparkComponentCache::Guards::NeverConsistent
- Defined in:
- lib/infopark_component_cache/guards/never_consistent.rb
Overview
This is a dummy Guard, mostly for tests purposes. It ensures that the cache is never consistent
Instance Attribute Summary
Attributes inherited from ConsistencyGuard
Instance Method Summary collapse
Methods inherited from ConsistencyGuard
Constructor Details
This class inherits a constructor from InfoparkComponentCache::ConsistencyGuard
Instance Method Details
#consistent? ⇒ Boolean
10 11 12 |
# File 'lib/infopark_component_cache/guards/never_consistent.rb', line 10 def consistent? false end |
#guard! ⇒ Object
14 15 16 |
# File 'lib/infopark_component_cache/guards/never_consistent.rb', line 14 def guard! # noop end |