Mega Code Archive

 
Categories / Ruby / Development
 

Read CSV file

require 'csv' IO.foreach("data.csv") { |f| p CSV::parse(f.chomp) }