class SimpleCovJSONFormatter::ResultHashFormatter

def format

def format
  @result.files.each do |source_file|
    formatted_result[:coverage][source_file.filename] =
      format_source_file(source_file)
  end
  formatted_result
end