Class: 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.
83 84 85 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 83 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.
81 82 83 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 81 def id @id end |
Instance Method Details
#count ⇒ Integer
GE01 Number of Transaction Sets (within current functional group)
94 95 96 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 94 def count @count end |
#pop ⇒ Object
98 99 100 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 98 def pop @parent end |