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

instance method Queue#empty?

empty? -> bool

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

class Queue