最速Rubyリファレンスマニュアル検索!
すべて(9)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
9件ヒット
[1-9件を表示]
(0.135秒)
トップページ
>
:
_builtin
>
:
ビルトイン
>
:
E
>
:
closed?
>
クラス:Thread::Queue
別のキーワード
_builtin new
_builtin inspect
_builtin []
_builtin to_s
_builtin each
検索結果
先頭1件
Thread
::
Queue
#
closed? -> bool
Thread
::
Queue
#
closed? -> bool
(32216.0)
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
キューが close されている時に true を返します。
...
キューが clos
e
されている時に tru
e
を返します。
//
e
mlist[例][ruby]{
q = Qu
e
u
e
.n
e
w
[:r
e
sourc
e
1, :r
e
sourc
e
2, :r
e
sourc
e
3, nil].
e
ach { |r| q.push(r) }
q.
closed?
# => fals
e
q.clos
e
q.
closed?
# => tru
e
//}
...