class ActionController::Parameters

def convert_value_to_parameters(value)

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

def convert_value_to_parameters: (nil value) -> nil

This signature was generated using 1 sample from 1 application.

def convert_value_to_parameters(value)
  case value
  when Array
    return value if converted_arrays.member?(value)
    converted = value.map { |_| convert_value_to_parameters(_) }
    converted_arrays << converted.dup
    converted
  when Hash
    self.class.new(value, @logging_context)
  else
    value
  end
end