class Rack::WebProfiler::Utils
Public Class Methods
hash_stringify_values(hash)
click to toggle source
# File lib/rack/web_profiler/utils.rb, line 4 def hash_stringify_values(hash) return {} unless hash.kind_of?(Hash) hash.collect do |k,v| v = v.inspect unless v.kind_of?(String) [k, v] end end