Class: Stupidedi::Builder::IdentifierStack::Empty
- Inherits:
-
Object
- Object
- Stupidedi::Builder::IdentifierStack::Empty
- Defined in:
- lib/stupidedi/builder/identifier_stack.rb
Overview
State Representations
Instance Method Summary collapse
-
#count ⇒ Object
Number of Interchanges (ISA..IEA).
-
#initialize(id) ⇒ Empty
constructor
A new instance of Empty.
- #isa ⇒ Object
Constructor Details
#initialize(id) ⇒ Empty
Returns a new instance of Empty.
49 50 51 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 49 def initialize(id) @count, @next, @id = 0, id, id end |
Instance Method Details
#count ⇒ Object
Number of Interchanges (ISA..IEA)
58 59 60 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 58 def count @count end |