module Roda::RodaPlugins::IndifferentParams::InstanceMethods
def indifferent_params(params)
hashes to support indifferent access, leaving
Recursively process the request params and convert
def indifferent_params(params) case params when Hash hash = Hash.new(&INDIFFERENT_PROC) params.each{|k, v| hash[k] = indifferent_params(v)} hash when Array params.map{|x| indifferent_params(x)} else params end end
def params
def params @_request.params end
def params
A copy of the request params that will automatically
def params @_params ||= indifferent_params(@_request.params) end