lib/ultra_config/namespace.rb in ultra_config-0.10.2 vs lib/ultra_config/namespace.rb in ultra_config-0.10.3
- old
+ new
@@ -56,10 +56,10 @@
def to_sanitized_h
hash = {}
@objects.each do |name, object|
if object.is_a?(Config)
if object.sanitize?
- hash[name].nil? ? nil : hash[name] = '*****'
+ hash[name] = object.value.nil? ? nil : '*****'
else
hash[name] = object.value
end
else
hash[name] = object.to_sanitized_h
\ No newline at end of file