class InfoparkComponentCache::Guards::NeverConsistent

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

This is a dummy Guard, mostly for tests purposes. It ensures that the cache is never consistent

Public Instance Methods

consistent?() click to toggle source
# File lib/infopark_component_cache/guards/never_consistent.rb, line 10
def consistent?
  false
end
guard!() click to toggle source
# File lib/infopark_component_cache/guards/never_consistent.rb, line 14
def guard!
  # noop
end