lib/teapot/environment/flatten.rb in teapot-0.7.1 vs lib/teapot/environment/flatten.rb in teapot-0.7.2
- old
+ new
@@ -37,11 +37,11 @@
def flatten_to_hash(hash)
if @parent
@parent.flatten_to_hash(hash)
end
-
+
@values.each do |key, value|
previous = hash[key]
if Replace === value
# Replace the parent value
@@ -55,8 +55,7 @@
else
hash[key] = value
end
end
end
-
end
end