instance method
Prism::Source#replace_offsets
replace_offsets(offsets)
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 58
def replace_offsets(offsets)
@offsets.replace(offsets)
end
Replace the value of offsets with the given value.