hashlib 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hashlib.rb +2 -2
- metadata +1 -1
data/lib/hashlib.rb
CHANGED
@@ -126,10 +126,10 @@ class Hash
|
|
126
126
|
path << k
|
127
127
|
|
128
128
|
if v.is_a?(Hash)
|
129
|
-
each_recurse(v, path, &block)
|
129
|
+
each_recurse(v, path, inplace, &block)
|
130
130
|
else
|
131
131
|
rv = yield(k, v, path)
|
132
|
-
|
132
|
+
self.set(path, rv) if inplace === true
|
133
133
|
end
|
134
134
|
|
135
135
|
path.pop
|