Ruby - File IO
Identify the error in this Ruby code snippet:
require 'csv'
CSV.foreach('data.csv') do |row|
puts row
endrequire 'csv'
CSV.foreach('data.csv') do |row|
puts row
end15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions