module Hashie::Extensions::StringifyKeys::ClassMethods
def stringify_keys(hash)
-
hash
(::Hash
) --
def stringify_keys(hash) copy = hash.dup copy.extend(Hashie::Extensions::StringifyKeys) unless copy.respond_to?(:stringify_keys!) copy.tap do |new_hash| stringify_keys!(new_hash) end end