Class: Importer::Data
- Inherits:
-
Object
- Object
- Importer::Data
- Defined in:
- lib/iron/import/importer.rb
Overview
Inner class for holding load-time data that gets reset on each load call
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#start_row ⇒ Object
Returns the value of attribute start_row.
Instance Method Summary collapse
-
#initialize ⇒ Data
constructor
A new instance of Data.
Constructor Details
#initialize ⇒ Data
Returns a new instance of Data.
90 91 92 93 94 |
# File 'lib/iron/import/importer.rb', line 90 def initialize @start_row = nil @rows = [] @errors = [] end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
89 90 91 |
# File 'lib/iron/import/importer.rb', line 89 def errors @errors end |
#rows ⇒ Object
Returns the value of attribute rows.
89 90 91 |
# File 'lib/iron/import/importer.rb', line 89 def rows @rows end |
#start_row ⇒ Object
Returns the value of attribute start_row.
89 90 91 |
# File 'lib/iron/import/importer.rb', line 89 def start_row @start_row end |