csv

in rspec_stats/rspec_query.rb [53:65]


  def csv
    options = {
      headers: true,
      skip_lines: /\(\d+ rows\)/ 
    }

    csv_filename = filename(:csv)
    @csv ||= CSV.read(csv_filename, **options)
  rescue StandardError => e
    warn "warning: failed to parse #{csv_filename}: #{e.message}"
    []
  end