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

instance method Prism::Source#start_line

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

先頭行の行番号を返します。通常は 1 です。