lib/anyway/ext/hash.rb in anyway_config-2.2.1 vs lib/anyway/ext/hash.rb in anyway_config-2.2.2
- old
+ new
@@ -24,19 +24,9 @@
hash[k] = {} unless hash.key?(k)
hash[k]
end
hash[last_key] = val
end
-
- def deep_merge!(other)
- other.each do |k, v|
- if key?(k) && self[k].is_a?(::Hash) && v.is_a?(::Hash)
- self[k].deep_merge!(v)
- else
- self[k] = v
- end
- end
- end
end
using self
end
end