このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

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

singleton method Monitor.new

new -> Monitor[permalink][rdoc][edit]

新しい Monitor オブジェクトを生成します。