# File 'lib/reqres_rspec/utils.rb', line 15defdeep_merge(second)merger=proc{|key,v1,v2|Hash===v1&&Hash===v2?v1.merge(v2,&merger):v2}self.merge(second,&merger)end
#deep_merge!(second) ⇒ Object
20
21
22
23
# File 'lib/reqres_rspec/utils.rb', line 20defdeep_merge!(second)merger=proc{|key,v1,v2|Hash===v1&&Hash===v2?v1.merge(v2,&merger):v2}self.merge!(second,&merger)end