このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
to_proc -> self
self を返します。
例:
pr = proc {} p pr == pr.to_proc # => true