Ruby 4.0 リファレンスマニュアル

singleton method Ractor.count

count -> Integer[permalink][rdoc][edit]

実行中の Ractor の数を返します。