Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
CGI::QueryExtension#params=
(::Hash[::String, ::Array[::String] | ::Tempfile | ::StringIO] hash) -> ::Hash[::String, ::Array[::String] | ::Tempfile | ::StringIO]
params=(hash)
lib/cgi/core.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/cgi/core.rb, line 474
def params=(hash)
@params.clear
@params.update(hash)
end
Set all the parameters.