Sha256: b1b45b03cba864cfc6345d2d88bf923ee51112af2535579fec6002faffa559d4

Contents?: true

Size: 150 Bytes

Versions: 8

Compression:

Stored size: 150 Bytes

Contents

class ProconBypassMan::RemoteMacro::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.5 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.3.4 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/remote_macro/task_queue.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/remote_macro/task_queue.rb