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