るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. pop n_bytes
  3. openssl n
  4. pop n_mails
  5. openssl n=

ライブラリ

クラス

検索結果

ThreadGroup#enclosed? -> bool (24231.0)

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

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

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

thg = ThreadGroup.new
p thg.enclo...
...sed? # => false
thg.enclose
p thg.enclosed? # => true

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

@see ThreadGroup#enclose...