Class: Stupidedi::Parser::IdentifierStack::Empty
- Inherits:
-
Object
- Object
- Stupidedi::Parser::IdentifierStack::Empty
- Defined in:
- lib/stupidedi/parser/identifier_stack.rb
Instance Method Summary collapse
-
#count ⇒ Integer
Returns number of interchanges (@note this is not needed by X12).
-
#initialize(sequence) ⇒ Empty
constructor
A new instance of Empty.
- #isa
Constructor Details
#initialize(sequence) ⇒ Empty
Returns a new instance of Empty.
92 93 94 |
# File 'lib/stupidedi/parser/identifier_stack.rb', line 92 def initialize(sequence) @count, @sequence = 0, sequence end |
Instance Method Details
#count ⇒ Integer
Returns number of interchanges (@note this is not needed by X12)
103 104 105 |
# File 'lib/stupidedi/parser/identifier_stack.rb', line 103 def count @count end |