Skip to content

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

instance method

Prism::ReturnNode#save_keyword_loc

save_keyword_loc(repository)

Save the keyword_loc location using the given saved source so that it can be retrieved later.

See also #keyword_loc #type #keyword also in 4.0