class ExportToGcloud::CSVExporter
Private Instance Methods
create_data_file!(file, *part_data)
click to toggle source
# File lib/export_to_gcloud/exporters/csv_exporter.rb, line 8 def create_data_file! file, *part_data data = @definition.get_data(*part_data) csv_data = CSV.generate col_sep: ';', force_quotes: false do |csv| data.each{|row| csv << row} end File.write file.to_path, csv_data end