Class: EDI::Diagram::TNode
Overview
T-Node: Additionally maintain the tail branch and the segment group name
Instance Attribute Summary collapse
-
#sg_name ⇒ Object
readonly
Returns the value of attribute sg_name.
-
#tail ⇒ Object
Returns the value of attribute tail.
Attributes inherited from Node
#index, #maxrep, #name, #status
Instance Method Summary collapse
-
#initialize(name, status, rep) ⇒ TNode
constructor
A new instance of TNode.
Methods inherited from Node
Constructor Details
#initialize(name, status, rep) ⇒ TNode
Returns a new instance of TNode.
365 366 367 368 |
# File 'lib/edi4r/diagrams.rb', line 365 def initialize(name, status, rep) super @tail, @sg_name = nil, @name end |
Instance Attribute Details
#sg_name ⇒ Object (readonly)
Returns the value of attribute sg_name.
363 364 365 |
# File 'lib/edi4r/diagrams.rb', line 363 def sg_name @sg_name end |
#tail ⇒ Object
Returns the value of attribute tail.
362 363 364 |
# File 'lib/edi4r/diagrams.rb', line 362 def tail @tail end |