Class: ECCSV::DelimFieldsNode
- Inherits:
-
ParentNode
- Object
- Node
- ParentNode
- ECCSV::DelimFieldsNode
- Defined in:
- lib/eccsv/node.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from ParentNode
Methods inherited from Node
Constructor Details
This class inherits a constructor from ECCSV::ParentNode
Instance Method Details
#value ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/eccsv/node.rb', line 50 def value @value ||= if @children.empty? [] else @children[0].value + [@children[1].value] end end |