module SimpleCov::ResultMerger
def store_result(result)
def store_result(result) synchronize_resultset do # Ensure we have the latest, in case it was already cached clear_resultset new_set = resultset command_name, data = result.to_hash.first new_set[command_name] = data File.open(resultset_path, "w+") do |f_| f_.puts JSON.pretty_generate(new_set) end end true end