Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > threadライブラリ > SizedQueueクラス > new
new(max)
SizedQueue オブジェクトを生成します。 max は queue のサイズの最大値です。