-
-
Save anonymous/0da192d0ba7a9ad0a748 to your computer and use it in GitHub Desktop.
How would I write to a Tab Separated file instead of a CSV file?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# write to file | |
CSV.open("#{product_category[0]}-#{product_category[1]}.csv", "w") do |csv| | |
product_urls.each do |pu| | |
csv << pu | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment