Skip to content

Instantly share code, notes, and snippets.

@davidboy
Created May 10, 2012 22:18
Show Gist options
  • Save davidboy/2656256 to your computer and use it in GitHub Desktop.
Save davidboy/2656256 to your computer and use it in GitHub Desktop.
CSV hackyness
require 'csv'
CSV.read('results_formatted_copy.csv').each do |row|
puts row.class
end
@jlwestsr
Copy link

require 'csv'

CSV.foreach('results_formatted_copy.csv') do |row|
puts row.class
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment