class Ruby::Prism::Relocation::ColumnsField

A field representing the start and end byte columns.

Public Instance Methods

Fetches the start and end byte column of a value.

: (_Value value) -> entry_values

# File lib/ruby/prism/relocation.rb, line 370
def fields(value)
  { start_column: value.start_column, end_column: value.end_column }
end