るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.130秒)
トップページ > クエリ:t[x] > クラス:ThreadGroup[x] > クエリ:enclosed?[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

検索結果

ThreadGroup#enclosed? -> bool (21132.0)

自身が enclose されているなら true を返します。そうでないなら false を返します。デフォルトは false です。

... true を返します。そうでないなら false を返します。デフォルトは false です。

freeze された ThreadGroup には Thread の追加/削除ができませんが、enclosed? は false を返します。

t
hg = ThreadGroup.new
p thg.enclosed? # => false
t
h...
...g.enclose
p thg.enclosed? # => true

t
hg = ThreadGroup.new
p thg.enclosed? # => false
t
hg.freeze
p thg.enclosed? # => false

@see ThreadGroup#enclose...