Skip to content

Instantly share code, notes, and snippets.

Created July 9, 2015 00:40
Show Gist options
  • Save anonymous/cbab43a9312292dec546 to your computer and use it in GitHub Desktop.
Save anonymous/cbab43a9312292dec546 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
$DEBUG=true
$VERBOSE=true
require 'csv'
CSV.open("test.csv", "wb") do |csv|
csv << ['one', 'two', 'three']
csv << ['two', 'three', 'four']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment