method

new

ruby latest stable - Class: SizedQueue
new(p1)
public

Creates a fixed-length queue with a maximum size of max.