document_hash 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/document_hash/core.rb +1 -4
- data/lib/document_hash/version.rb +1 -1
- metadata +1 -1
data/lib/document_hash/core.rb
CHANGED
@@ -50,10 +50,7 @@ module DocumentHash
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def merge! other
|
53
|
-
|
54
|
-
other = Hash[ other.collect{ |k, v| [ k, execute_before_change_callback(k,v) ] } ]
|
55
|
-
super other
|
56
|
-
other.each { |k, v| changed_key k,v }
|
53
|
+
other.each { |k, v| self[k] = v }
|
57
54
|
end
|
58
55
|
|
59
56
|
private
|