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