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

instance method Queue#length

length
size

queueの長さを返します。