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

singleton method Ractor.count

count -> IntegerRuby 3.0 から[permalink][rdoc][edit]

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