Sha256: 2399ffb57a178e447dcbe11b8055b971da14102875957dda222685aaa3d3d57d
Contents?: true
Size: 228 Bytes
Versions: 12
Compression:
Stored size: 228 Bytes
Contents
module NdsApi module Utils class << self def hash_keys_str_to_sym(hash) return hash unless hash.is_a? Hash hash.each_with_object({}) { |(k, v), memo| memo[k.to_sym] = v; } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems