Class: InCSV::Column
- Inherits:
-
Object
- Object
- InCSV::Column
- Defined in:
- lib/incsv/column.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, values) ⇒ Column
constructor
A new instance of Column.
- #type ⇒ Object
Constructor Details
#initialize(name, values) ⇒ Column
Returns a new instance of Column.
5 6 7 8 |
# File 'lib/incsv/column.rb', line 5 def initialize(name, values) @name = name @values = values end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/incsv/column.rb', line 10 def name @name end |