Sha256: 2dde92ccfa957f835bb9cbafc2599e0b476fc4c85b6c9e2cb105b12fa01bef9b
Contents?: true
Size: 344 Bytes
Versions: 26
Compression:
Stored size: 344 Bytes
Contents
class CacheinatorHelper constructor :file_wrapper, :yaml_wrapper def diff_cached_config?(cached_filepath, hash) return true if ( not @file_wrapper.exist?(cached_filepath) ) return true if ( (@file_wrapper.exist?(cached_filepath)) and (!(@yaml_wrapper.load(cached_filepath) == hash)) ) return false end end
Version data entries
26 entries across 26 versions & 1 rubygems