Sha256: 1b2678fa308b6622d911999cc6c850d583e808064344a2703425a9a749159e29
Contents?: true
Size: 377 Bytes
Versions: 6
Compression:
Stored size: 377 Bytes
Contents
module CsvImporters class <%= klass %>Importer < Effective::CSVImporter def columns {<% columns.each_with_index do |column, index| %> <%= column %>: <%= (letters[index] || index) %><%= ',' unless (index+1) == columns.length %><% end %> } end def process_row # assign_columns(<%= klass %>.new).save! raise 'todo' end end end
Version data entries
6 entries across 6 versions & 1 rubygems