class InfoparkComponentCache::Guards::AlwaysConsistent

@author Tomasz Przedmojski <tomasz.przedmojski@infopark.de>

This is a dummy Guard, mostly for tests purposes. It ensures that the cache is always consistent (provided other guards are also consistent!)

Public Instance Methods

consistent?() click to toggle source
# File lib/infopark_component_cache/guards/always_consistent.rb, line 11
def consistent?
  true
end
guard!() click to toggle source
# File lib/infopark_component_cache/guards/always_consistent.rb, line 15
def guard!
  # noop
end