Sha256: b0d053d6d5b6c6516c0d5de0c0a189bddd8343ad7e750350e71251429d45e915
Contents?: true
Size: 214 Bytes
Versions: 4
Compression:
Stored size: 214 Bytes
Contents
module LlPay module Utils def self.stringify_keys(hash) new_hash = {} hash.each do |key, value| new_hash[(key.to_sym rescue key) || key] = value end new_hash end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ll_pay-0.5.0 | lib/ll_pay/utils.rb |
ll_pay-0.4.0 | lib/ll_pay/utils.rb |
ll_pay-0.3.0 | lib/ll_pay/utils.rb |
ll_pay-0.2.0 | lib/ll_pay/utils.rb |