module SimpleCov::ResultMerger
def store_result(result)
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| if defined? ::JSON f.puts JSON.pretty_generate(new_set) else f.puts MultiJson.dump(new_set) end end true end