Skip to content
Snippets Groups Projects
Commit 1f2abbdd authored by Mike McQuaid's avatar Mike McQuaid
Browse files

utils/hash: fix Rubocop warnings.

parent 6cfb8415
No related branches found
No related tags found
No related merge requests found
def deep_merge_hashes(hash1, hash2)
merger = proc do |key, v1, v2|
if Hash === v1 && Hash === v2
merger = proc do |_key, v1, v2|
if v1.is_a?(Hash) && v2.is_a?(Hash)
v1.merge v2, &merger
else
v2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment