Class: 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.
45 46 47 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 45 def initialize(id) @count, @next, @id = 0, id, id end |
Instance Method Details
#count ⇒ Object
Number of Interchanges (ISA..IEA)
54 55 56 |
# File 'lib/stupidedi/builder/identifier_stack.rb', line 54 def count @count end |