Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::StringQuery#local?
local?
lib/prism/string_query.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/string_query.rb, line 16
def local?
StringQuery.local?(string)
end
Whether or not this string is a valid local variable name.