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

singleton method Ractor.current

current -> Ractor[permalink][rdoc][edit]

このメソッドを呼び出された Ractor を返します。