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

instance method Prism::Location#==

self == other -> boolRuby 3.3 から[permalink][rdoc][edit]

other が同じ範囲を表す Prism::Location であれば true を返します。

[PARAM] other:
比較対象のオブジェクト