Method: Thread::Queue#closed?

Defined in:
thread_sync.c

#closed?Boolean

Returns true if the queue is closed.

Returns:

  • (Boolean)


1008
1009
1010
1011
1012
# File 'thread_sync.c', line 1008

static VALUE
rb_queue_closed_p(VALUE self)
{
    return RBOOL(queue_closed_p(self));
}