class ActionController::Parameters

def convert_parameters_to_hashes(value, using)

Experimental RBS support (using type sampling data from the type_fusion project).

def convert_parameters_to_hashes: (String value, Symbol using) -> String

This signature was generated using 2 samples from 1 application.

def convert_parameters_to_hashes(value, using)
  case value
  when Array
    value.map { |v| convert_parameters_to_hashes(v, using) }
  when Hash
    value.transform_values do |v|
      convert_parameters_to_hashes(v, using)
    end.with_indifferent_access
  when Parameters
    value.send(using)
  else
    value
  end
end