lib/review/extentions/hash.rb in review-2.3.0 vs lib/review/extentions/hash.rb in review-2.4.0

- old
+ new

@@ -1,8 +1,8 @@ class Hash def deep_merge!(other) - self.merge!(other) do |key, v_self, v_other| - if v_self.kind_of?(Hash) && v_other.kind_of?(Hash) + self.merge!(other) do |_key, v_self, v_other| + if v_self.is_a?(Hash) && v_other.is_a?(Hash) v_self.deep_merge(v_other) else v_other end end