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

instance method Prism::Location#end_line

end_line -> IntegerRuby 3.3 から[permalink][rdoc][edit]

範囲の終端位置がある行の行番号を返します。