Class: Avmtrf1::Forponto::Parsers::Espelho::SubNode

Inherits:
Object
  • Object
show all
Defined in:
lib/avmtrf1/forponto/parsers/espelho/sub_node.rb

Direct Known Subclasses

DayNode, RowNode, SummaryNode

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node) ⇒ SubNode

Returns a new instance of SubNode.



13
14
15
# File 'lib/avmtrf1/forponto/parsers/espelho/sub_node.rb', line 13

def initialize(node)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



11
12
13
# File 'lib/avmtrf1/forponto/parsers/espelho/sub_node.rb', line 11

def node
  @node
end