Class: Importer::Column::Data
- Inherits:
-
Object
- Object
- Importer::Column::Data
- Defined in:
- lib/iron/import/column.rb
Overview
Holds load-time data
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#header_text ⇒ Object
Returns the value of attribute header_text.
-
#index ⇒ Object
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize ⇒ Data
constructor
A new instance of Data.
- #pos ⇒ Object
Constructor Details
#initialize ⇒ Data
Returns a new instance of Data.
69 70 71 |
# File 'lib/iron/import/column.rb', line 69 def initialize @errors = [] end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
67 68 69 |
# File 'lib/iron/import/column.rb', line 67 def errors @errors end |
#header_text ⇒ Object
Returns the value of attribute header_text.
67 68 69 |
# File 'lib/iron/import/column.rb', line 67 def header_text @header_text end |
#index ⇒ Object
Returns the value of attribute index.
67 68 69 |
# File 'lib/iron/import/column.rb', line 67 def index @index end |
Instance Method Details
#pos ⇒ Object
73 74 75 |
# File 'lib/iron/import/column.rb', line 73 def pos @index ? Column::index_to_pos(@index) : 'Not Found' end |