Sha256: f9d306197333e25ab6485d439f3dc4198eb0e2e47171c8984b731c202adb4dc3
Contents?: true
Size: 510 Bytes
Versions: 11
Compression:
Stored size: 510 Bytes
Contents
require "infopark_component_cache/consistency_guard" module InfoparkComponentCache module Guards # @author Tomasz Przedmojski <tomasz.przedmojski@infopark.de> # # This Guard class ensures that the cache object # for the component exists, i.e. when reading # the cache with component's key one does get a value class ValuePresent < ConsistencyGuard def consistent? cache.exist?(component.cache_key) end def guard! # noop end end end end
Version data entries
11 entries across 11 versions & 1 rubygems