Class: Prism::Relocation::LinesField
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/prism/relocation.rb |
Overview
A field representing the start and end lines.
Instance Method Summary
-
#fields(value)
Fetches the start and end line of a value.
Instance Method Details
#fields(value)
Fetches the start and end line of a value.
# File 'lib/prism/relocation.rb', line 203
def fields(value) { start_line: value.start_line, end_line: value.end_line } end