るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.101秒)

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. kernel $-d
  4. openssl d
  5. openssl d=

ライブラリ

検索結果

ThreadGroup#enclosed? -> bool (24233.0)

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

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

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

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

@see ThreadGroup#enclose...