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