class ActionDispatch::Request::Utils
def self.each_param_value(params, &block)
def self.each_param_value(params, &block) case params when Array params.each { |element| each_param_value(element, &block) } when Hash params.each_value { |value| each_param_value(value, &block) } when String block.call params end end