APIdock
/
Ruby
/
Browse
About
method
length
v1_9_2_180
-
Show latest stable
- Class:
Queue
length
()
public
Returns the
length
of the queue.
Show source
# File lib/thread.rb, line 220 def length @que.length end
Related methods
Instance methods
<<
clear
deq
empty?
enq
length
num_waiting
pop
push
shift
size
Class methods
new