method

clear

ruby latest stable - Class: Queue
clear()
public

Removes all objects from the queue.