module Rack::Typhoeus::Middleware::ParamsDecoder::Helper
def convert(hash)
-
(Arraya/Hash)-
Parameters:
-
hash(Hash) -- The Hash to convert into an Array.
def convert(hash) if encoded?(hash) hash.sort{ |a, b| a[0].to_i <=> b[0].to_i }.map{ |key, value| value } else hash end end