Sha256: 268196a91db381f39a2fd1962fb36672f841895c12f537872a7a7e4b734c87bd

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 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
      raise 'todo'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_developer-0.0.7 lib/generators/effective_developer/csv_importer.rb.erb