End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CGI::QueryExtension#key?
key?(*args)
lib/cgi/core.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/cgi/core.rb, line 738
def has_key?(*args)
@params.has_key?(*args)
end
Alias of #has_key?
Returns true if a given query string parameter exists.