Ruby | SizedQueue max= function
The max=() is an inbuilt function in Ruby changes the current capacity of the SizedQueue and sets it into X, where X is given by the user. Syntax: sq_name.max=X() Parameters: The function accepts a single mandatory parameter and changes the current size of the SizedQueue to X. Return Value: It sets