Sha256: 0a8d03b859b3a9296e2216ab0e5e42ccdc23e1fd0c1f3b338375cbb7c21b37be
Contents?: true
Size: 432 Bytes
Versions: 2
Compression:
Stored size: 432 Bytes
Contents
require 'infopark_component_cache/consistency_guard' module InfoparkComponentCache module Guards # @author Tomasz Przedmojski <tomasz.przedmojski@infopark.de> # # This is a dummy Guard, mostly for tests purposes. # It ensures that the cache is never consistent class NeverConsistent < ConsistencyGuard def consistent? false end def guard! # noop end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
infopark_component_cache-1.1.0 | lib/infopark_component_cache/guards/never_consistent.rb |
infopark_component_cache-1.0.0 | lib/infopark_component_cache/guards/never_consistent.rb |