D
drubdrub
New to Ruby. It probably shows. Trying to accomplish some simple
initial tasks, and study.
Objectives
1. Read rows from a CSV file
2. Write rows to STDOUT
A cat() equivalent.
I've been looking but don't find it. Are there any good tutorials on
using fastcsv? This might be a good candidate for such.
Many thanks!
require
'fastercsv'
fastercsv.open("rfile2", "r") do |csv|
csvData.each{|row| puts "row: ${row}"}
end
initial tasks, and study.
Objectives
1. Read rows from a CSV file
2. Write rows to STDOUT
A cat() equivalent.
I've been looking but don't find it. Are there any good tutorials on
using fastcsv? This might be a good candidate for such.
Many thanks!
require
'fastercsv'
fastercsv.open("rfile2", "r") do |csv|
csvData.each{|row| puts "row: ${row}"}
end