Method: PQueue#size

Defined in:
lib/pqueue.rb

#sizeObject Also known as: length

Returns the size of the queue.



62
63
64
# File 'lib/pqueue.rb', line 62

def size
  @que.size
end