Ruby - File IO
What will this Ruby code output?
require 'csv'
CSV.open('test.csv', 'w') do |csv|
csv << ['Name', 'Age']
csv << ['John', 22]
end
puts File.read('test.csv')