Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Prism::Location#start_line_slice

start_line_slice

The content of the line where this location starts before this location.

See also #start_line #start_column also in 4.0 · 3.4