module SimpleCov::ResultMerger

def resultset

Loads the cached resultset from YAML and returns it as a Hash
def resultset
  if stored_data
    # Detect and use available MultiJson API - it changed in v1.3
    if MultiJson.respond_to?(:adapter)
      MultiJson.load(stored_data)
    else
      MultiJson.decode(stored_data)
    end
  else
    {}
  end
end