class Prism::Relocation::ColumnsField
A field representing the start and end byte columns.
Public Instance Methods
Source
# File lib/prism/relocation.rb, line 263
def fields(value)
{ start_column: value.start_column, end_column: value.end_column }
end Fetches the start and end byte column of a value.
Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.