Sha256: 682631d68b7ec3450f680688d14019f3da1918c2ab03d1471e05cc2c76900e5f

Contents?: true

Size: 151 Bytes

Versions: 8

Compression:

Stored size: 151 Bytes

Contents

class ProconBypassMan::RemoteAction::TaskQueue < ::Queue
  def present?
    not empty?
  end

  def non_blocking_shift
    present? && shift
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.11 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.10 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.9 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.8.1 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.8 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.7 lib/procon_bypass_man/remote_action/task_queue.rb
procon_bypass_man-0.3.6 lib/procon_bypass_man/remote_action/task_queue.rb