method

max=

ruby latest stable - Class: SizedQueue
max=(p1)
public

Sets the maximum size of the queue to the given number.