class ActionController::Parameters
def [](key)
Experimental RBS support (using type sampling data from the type_fusion
project).
def []: ((String | Symbol) key) -> untyped
This signature was generated using 2 samples from 1 application.
params[:person] # => #
params = ActionController::Parameters.new(person: { name: "Francesco" })
returns +nil+.
Returns a parameter for the given +key+. If not found,
def [](key) convert_hashes_to_parameters(key, @parameters[key]) end