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

instance method Prism::Node#end_line

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

終了位置の行番号を返します。location.end_line と同じです。