Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

generate csv ruby

require 'csv'
csv_string = CSV.generate do |csv|
  csv << ["row", "of", "CSV", "data"]
  csv << ["another", "row"]
  # ...
end
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generate #csv #ruby
ADD COMMENT
Topic
Name
2+2 =