# File 'lib/cucover/store.rb', line 56defloadreturnunlessFile.exists?(data_file)Cucover.logger.debug("Reading existing coverage data from #{data_file}")File.open(data_file){|f|Marshal.load(f)}end
#save(recordings) ⇒ Object
51
52
53
54
# File 'lib/cucover/store.rb', line 51defsave(recordings)Cucover.logger.debug("Saving #{recordings.length} recording(s) to #{data_file}")File.open(data_file,'w'){|f|f.putsMarshal.dump(recordings)}end