class Prism::Relocation::LinesField

A field representing the start and end lines.

Public Instance Methods

fields(value) click to toggle source

Fetches the start and end line of a value.

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