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

instance method Queue#empty?

empty? -> bool

キューが空の時、真を返します。

class Queue