Sha256: 71b1a69b8e0c3b051dc35d90400812cfc18330e73cc1489afab2462e9bda5196
Contents?: true
Size: 292 Bytes
Versions: 47
Compression:
Stored size: 292 Bytes
Contents
module ApiClient module Utils def self.deep_merge(hash, other_hash) other_hash.each_pair do |key,v| if hash[key].is_a?(::Hash) and v.is_a?(::Hash) deep_merge hash[key], v else hash[key] = v end end hash end end end
Version data entries
47 entries across 47 versions & 1 rubygems