lib/csv_importer/row.rb in csv-importer-0.3.2 vs lib/csv_importer/row.rb in csv-importer-0.4.0
- old
+ new
@@ -5,9 +5,10 @@
# to be persisted.
class Row
include Virtus.model
attribute :header, Header
+ attribute :line_number, Integer
attribute :row_array, Array[String]
attribute :model_klass
attribute :identifiers, Array[Symbol]
attribute :after_build_blocks, Array[Proc], default: []
attribute :skip, Boolean, default: false