Class: SandthornSequelProjection::CircularQueue
- Inherits:
-
Queue
- Object
- Queue
- SandthornSequelProjection::CircularQueue
- Defined in:
- lib/sandthorn_sequel_projection/runner.rb
Instance Method Summary collapse
-
#pop ⇒ Object
CircularQueue Automatically pushes popped elements to the back of the queue In other words, can never be emptied by use of pop.
Instance Method Details
#pop ⇒ Object
CircularQueue
Automatically pushes popped elements to the back of the queue In other words, can never be emptied by use of pop
55 56 57 58 59 |
# File 'lib/sandthorn_sequel_projection/runner.rb', line 55 def pop super.tap do |el| self << el end end |