instance method
Prism::Location#slice
slice
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 354
def slice
source.slice(start_offset, length)
end
The source code that this location represents.