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

singleton method Prime.instance

instance -> Prime[permalink][rdoc][edit]

Prime のデフォルトのインスタンスを返します。