Ruby 4.0 リファレンスマニュアル
Ruby 4.0 リファレンスマニュアル
ライブラリ一覧
prismライブラリ
Prism::Sourceクラス
start_line
instance method Prism::Source#start_line
start_line -> Integer
Ruby 3.3 から
[
permalink
][
rdoc
][
edit
]
先頭行の行番号を返します。通常は 1 です。