class CSVDecision::Columns::Dictionary
Dictionary
of all table data columns. The key of each hash is the header cell's array column index. Note that input and output columns may be interspersed, and multiple input columns may refer to the same input hash key symbol. However, output columns must have unique symbols, which cannot overlap with input column symbols.
Attributes
columns[RW]
@return [Hash{Integer=>Entry}] All column names.
defaults[RW]
@return [Hash{Integer=>Entry}] All defaulted input column dictionary
entries. This is actually just a subset of :ins.
ifs[RW]
@return [Hash{Integer=>Entry}] All if: column dictionary entries.
This is actually just a subset of :outs.
ins[RW]
@return [Hash{Integer=>Entry}] All input column dictionary entries.
outs[RW]
@return [Hash{Integer=>Entry}] All output column dictionary entries.
paths[RW]
@return [Hash{Integer=>Symbol}] All path columns.
This is actually just a subset of :outs.
Public Class Methods
new()
click to toggle source
# File lib/csv_decision/columns.rb, line 122 def initialize @columns = {} @defaults = {} @ifs = {} @ins = {} @outs = {} @paths = {} end