Sha256: eb305b552633f2a05ce7cb6c039fff34cca64e0f28e77063a8c63e94b2fbc361
Contents?: true
Size: 220 Bytes
Versions: 5
Compression:
Stored size: 220 Bytes
Contents
module NdsApi module Utils class << self def hash_keys_str_to_sym(hash) return hash unless hash.is_a? Hash hash.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
nds_api-0.1.9 | lib/nds_api/utils.rb |
nds_api-0.1.8 | lib/nds_api/utils.rb |
nds_api-0.1.7 | lib/nds_api/utils.rb |
nds_api-0.1.6 | lib/nds_api/utils.rb |
nds_api-0.1.5 | lib/nds_api/utils.rb |