Class: Stupidedi::Builder::IdentifierStack::GS
- Inherits:
-
Object
- Object
- Stupidedi::Builder::IdentifierStack::GS
- Defined in:
- lib/stupidedi/builder/identifier_stack.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#count ⇒ Integer
GE01 Number of Transaction Sets (within current functional group).
-
#initialize(parent, id) ⇒ GS
constructor
A new instance of GS.
- #pop ⇒ Object
- #st ⇒ Object
Constructor Details
#initialize(parent, id) ⇒ GS
Returns a new instance of GS.
85 86 87 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 85 def initialize(parent, id) @count, @parent, @next, @id = 0, parent, id, id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
83 84 85 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 83 def id @id end |
Instance Method Details
#count ⇒ Integer
GE01 Number of Transaction Sets (within current functional group)
96 97 98 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 96 def count @count end |
#pop ⇒ Object
100 101 102 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 100 def pop @parent end |