Class: ECCSV::RootNode
- Inherits:
-
ParentNode
- Object
- Node
- ParentNode
- ECCSV::RootNode
- 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
91 92 93 94 95 96 97 98 99 |
# File 'lib/eccsv/node.rb', line 91 def value if @value.nil? @value = @children[0].value if @children[1] @value += [@children[1].value] end end @value end |