Method: Cyperful::Driver#step_pausing_dequeue
- Defined in:
- lib/cyperful/driver.rb
#step_pausing_dequeue ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/cyperful/driver.rb', line 63 def step_pausing_dequeue command = @step_pausing_queue.deq if command == :reset raise Cyperful::ResetCommand elsif command == :exit raise Cyperful::ExitCommand elsif command == :next # just continue else raise "unknown command: #{command}" end end |