lib/dnsimple/extra.rb in dnsimple-5.2.0 vs lib/dnsimple/extra.rb in dnsimple-6.0.0

- old
+ new

@@ -34,10 +34,10 @@ this_value = this[current_key] this[current_key] = if this_value.is_a?(Hash) && other_value.is_a?(Hash) deep_merge(this_value, other_value, &block) else - if block_given? && key?(current_key) + if block && key?(current_key) block.call(current_key, this_value, other_value) else other_value end end