Lesen Sie CSV -Header mit Ruby

headers = CSV.open('file.csv', 'r') { |csv| csv.first }
Nutty Narwhal