Mega Code Archive
Categories
/
Ruby
/
Development
Loading the data from a CSV-formatted file into an array is with CSV read
puts CSV.read('text.txt').inspect //File: text.txt F,M,M,45 L,C,F,23 D,P,F,38