Class: ECCSV::RecordNode

Inherits:
ParentNode show all
Defined in:
lib/eccsv/node.rb

Instance Attribute Summary

Attributes inherited from Node

#col, #line, #token

Instance Method Summary collapse

Methods inherited from ParentNode

#initialize

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from ECCSV::ParentNode

Instance Method Details

#valueObject



61
62
63
64
# File 'lib/eccsv/node.rb', line 61

def value
  # TODO: 'consume' children to produce value to reduce memory footprint
  @value ||= @children[0].value + [@children[1].value]
end