Sha256: e348cec50c16864c88e153f2069a3035d7ca80c2238f72796c46677885bf538b

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

module CsvRowModel
  module Import
    class Csv
      class Row
        attr_reader :row, :skipped_rows

        def initialize(row, index, skipped_rows)
          @row, @index, @skipped_rows = row, index, skipped_rows
        end

        def empty?
          !!row.try(:empty?)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
csv_row_model-0.3.0 lib/csv_row_model/import/csv/row.rb
csv_row_model-0.2.1 lib/csv_row_model/import/csv/row.rb
csv_row_model-0.1.1 lib/csv_row_model/import/csv/row.rb
csv_row_model-0.1.0 lib/csv_row_model/import/csv/row.rb