Sha256: 46a38a90ffea60f842f9d11aa30e50d7489043f60e2c68338310077bea299ace
Contents?: true
Size: 332 Bytes
Versions: 21
Compression:
Stored size: 332 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
21 entries across 21 versions & 1 rubygems