instance method
Prism::Translation::Parser::Lexer#percent_array?
percent_array?(quote)
lib/prism/translation/parser/lexer.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/translation/parser/lexer.rb, line 814
def percent_array?(quote)
quote.start_with?("%w", "%W", "%i", "%I")
end
Determine if the string is part of a %-style array.