module SimpleCov::ResultMerger

def store_result(result)

Saves the given SimpleCov::Result in the resultset cache
def store_result(result)
  new_set = resultset
  command_name, data = result.to_hash.first
  new_set[command_name] = data
  File.open(resultset_path, "w+") do |f|
    f.puts SimpleCov::JSON.dump(new_set)
  end
  true
end