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