Sha256: 29170d2f0f07108dd3e53fa76d0832bfa98daae60a1e55abf116f9c5b3fefb49

Contents?: true

Size: 157 Bytes

Versions: 5

Compression:

Stored size: 157 Bytes

Contents

require "csv"

module Chaskiq
  class CsvImporter

    def import(file_path)
      file = File.open(file_path)
      CSV.parse(file.read)
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chaskiq-0.0.6 lib/chaskiq/csv_importer.rb
chaskiq-0.0.5 lib/chaskiq/csv_importer.rb
chaskiq-0.0.4 lib/chaskiq/csv_importer.rb
chaskiq-0.0.3 lib/chaskiq/csv_importer.rb
chaskiq-0.0.2 lib/chaskiq/csv_importer.rb