class Ruby::Prism::Relocation::OffsetsField
A field representing the start and end byte offsets.
Public Instance Methods
Fetches the start and end byte offset of a value.
: (_Value value) -> entry_values
# File lib/ruby/prism/relocation.rb, line 306 def fields(value) { start_offset: value.start_offset, end_offset: value.end_offset } end