method
each_param_value
v8.0.0 -
Show latest stable
- Class:
ActionDispatch::Request::Utils
each_param_value(params, &block)public
No documentation available.
# File actionpack/lib/action_dispatch/request/utils.rb, line 12
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