Class: CSVDecision::Columns::Dictionary
- Inherits:
-
Object
- Object
- CSVDecision::Columns::Dictionary
- Defined in:
- lib/csv_decision/columns.rb
Overview
Dictionary of all data columns. The key of each hash is the header cell’s array column index. Note that input and output columns can be interspersed and need not have unique names.
Instance Attribute Summary collapse
-
#ins ⇒ Hash{Integer=>Entry}
Input columns.
-
#outs ⇒ Hash{Integer=>Entry}
Output columns.
Instance Method Summary collapse
-
#initialize ⇒ Dictionary
constructor
TODO: Input columns with a default value (planned feature) attr_accessor :defaults.
Constructor Details
#initialize ⇒ Dictionary
TODO: Input columns with a default value (planned feature) attr_accessor :defaults
33 34 35 36 37 38 |
# File 'lib/csv_decision/columns.rb', line 33 def initialize @ins = {} @outs = {} # TODO: @path = {} # TODO: @defaults = {} end |