Class: Prism::Relocation::ColumnsField
- Inherits:
-
Object
- Object
- Prism::Relocation::ColumnsField
- Defined in:
- lib/prism/relocation.rb
Overview
A field representing the start and end byte columns.
Instance Method Summary collapse
-
#fields(value) ⇒ Object
Fetches the start and end byte column of a value.
Instance Method Details
#fields(value) ⇒ Object
Fetches the start and end byte column of a value.
263 264 265 |
# File 'lib/prism/relocation.rb', line 263 def fields(value) { start_column: value.start_column, end_column: value.end_column } end |