class Prism::Relocation::OffsetsField
A field representing the start and end byte offsets.
Public Instance Methods
fields(value)
click to toggle source
Fetches the start and end byte offset of a value.
# File prism/relocation.rb, line 211 def fields(value) { start_offset: value.start_offset, end_offset: value.end_offset } end