class ActionController::Parameters
def convert_hashes_to_parameters(key, value)
Experimental RBS support (using type sampling data from the type_fusion
project).
type ActionController__Parameters_convert_hashes_to_parameters_value = nil | String | Array[String] | Hash def convert_hashes_to_parameters: ((Symbol | String) key, ActionController__Parameters_convert_hashes_to_parameters_value value) -> (nil | String | ActionController::Parameters)
This signature was generated using 24 samples from 2 applications.
def convert_hashes_to_parameters(key, value) converted = convert_value_to_parameters(value) @parameters[key] = converted unless converted.equal?(value) converted end