Class: ECCSV::DelimRecordNode

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



68
69
70
# File 'lib/eccsv/node.rb', line 68

def value
  @value ||= @children.length == 1 ? [] : @children[0].value
end