closed? -> bool
キューが close されている時に true を返します。
例 q = Queue.new [:resource1, :resource2, :resource3, nil].each { |r| q.push(r) } q.closed? # => false q.close q.closed? # => true
q = Queue.new [:resource1, :resource2, :resource3, nil].each { |r| q.push(r) } q.closed? # => false q.close q.closed? # => true