class Ruby::Prism::Relocation::LinesField

A field representing the start and end lines.

Public Instance Methods

Fetches the start and end line of a value.

: (_Value value) -> entry_values

# File lib/ruby/prism/relocation.rb, line 296
def fields(value)
  { start_line: value.start_line, end_line: value.end_line }
end