Method: Cucover::Store::DiskCache#load

Defined in:
lib/cucover/store.rb

#loadObject



56
57
58
59
60
61
# File 'lib/cucover/store.rb', line 56

def load
  return unless File.exists?(data_file)

  Cucover.logger.debug("Reading existing coverage data from #{data_file}")
  File.open(data_file) { |f| Marshal.load(f) }
end