Class: ProconBypassMan::RemoteAction::TaskQueue
- Inherits:
-
Queue
- Object
- Queue
- ProconBypassMan::RemoteAction::TaskQueue
- Defined in:
- lib/procon_bypass_man/remote_action/task_queue.rb
Instance Method Summary collapse
Instance Method Details
#non_blocking_shift ⇒ Object
6 7 8 |
# File 'lib/procon_bypass_man/remote_action/task_queue.rb', line 6 def non_blocking_shift present? && shift end |
#present? ⇒ Boolean
2 3 4 |
# File 'lib/procon_bypass_man/remote_action/task_queue.rb', line 2 def present? not empty? end |