Class: Column
Instance Attribute Summary collapse
-
#blk ⇒ Object
Returns the value of attribute blk.
-
#column_type ⇒ Object
Returns the value of attribute column_type.
-
#target_name ⇒ Object
Returns the value of attribute target_name.
Instance Method Summary collapse
Instance Attribute Details
#blk ⇒ Object
Returns the value of attribute blk.
3 4 5 |
# File 'lib/dataload/column.rb', line 3 def blk @blk end |
#column_type ⇒ Object
Returns the value of attribute column_type.
3 4 5 |
# File 'lib/dataload/column.rb', line 3 def column_type @column_type end |
#target_name ⇒ Object
Returns the value of attribute target_name.
3 4 5 |
# File 'lib/dataload/column.rb', line 3 def target_name @target_name end |
Instance Method Details
#target_value(row) ⇒ Object
4 5 6 |
# File 'lib/dataload/column.rb', line 4 def target_value(row) row.instance_eval(&blk) end |