End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Queue#enq
enq(object)
thread_sync.c
View on GitHub ↗
static VALUE
rb_queue_push(VALUE self, VALUE obj)
{
return queue_do_push(self, queue_ptr(self), obj);
}
Alias of #push
Pushes the given object to the queue.