Skip to content

Instantly share code, notes, and snippets.

@radar

radar/csv.rb Secret

Forked from dylantf/csv.rb
Last active January 16, 2017 04:26
Show Gist options
  • Save radar/52aa8e9610a55f9800d560063999875a to your computer and use it in GitHub Desktop.
Save radar/52aa8e9610a55f9800d560063999875a to your computer and use it in GitHub Desktop.
require 'csv'
input = [["VIP", "206 COLONY WAY W JUPITER FL 33458", 26.923861, -80.112053], ["VIP", "18834 LOBLOLLY PINE CT JUPITER FL 33458", 26.953317, -80.132284], ["VIP", "112 RAINBOW FISH CIR JUPITER FL 33477", 26.9226532, -80.0678156]]
CSV.open('output.csv', 'w') do |out|
input.each do |line|
out << line
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment