Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > threadライブラリ > Queueクラス > length

instance method Queue#length

length
size

queueの長さを返します。