Class: InfoparkComponentCache::Guards::AlwaysConsistent
- Inherits:
-
ConsistencyGuard
- Object
- ConsistencyGuard
- InfoparkComponentCache::Guards::AlwaysConsistent
- Defined in:
- lib/infopark_component_cache/guards/always_consistent.rb
Overview
This is a dummy Guard, mostly for tests purposes. It ensures that the cache is always consistent (provided other guards are also 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
11 12 13 |
# File 'lib/infopark_component_cache/guards/always_consistent.rb', line 11 def consistent? true end |
#guard! ⇒ Object
15 16 17 |
# File 'lib/infopark_component_cache/guards/always_consistent.rb', line 15 def guard! # noop end |