module Rack::Typhoeus::Middleware::ParamsDecoder::Helper
def decode!(hash)
-
(Hash)- Hash with properly decoded nested arrays.
Parameters:
-
hash(Hash) -- . This Hash will be modified!
def decode!(hash) return hash unless hash.is_a?(Hash) hash.each_pair do |key,value| if value.is_a?(Hash) decode!(value) hash[key] = convert(value) end end hash end