instance method
Prism::Relocation::LinesField#fields
fields(value)
lib/prism/relocation.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/relocation.rb, line 204
def fields(value)
{ start_line: value.start_line, end_line: value.end_line }
end
Fetches the start and end line of a value.
also in
3.4