lib/contrast/configuration.rb in contrast-agent-3.15.0 vs lib/contrast/configuration.rb in contrast-agent-3.16.0
- old
+ new
@@ -236,10 +236,10 @@
# Contrast::Config::BaseConfiguration is required for anything to be set
# in the hash
# @return [Hash, Object] the leaf of each
# Contrast::Config::BaseConfiguration will be returned in the N > 0 steps
# the Hash will be returned at the end of the 0 level
- def convert_to_hash convert=root, hash={}
+ def convert_to_hash convert = root, hash = {}
case convert
when Contrast::Config::BaseConfiguration
convert.cs__class::KEYS.each_key do |key|
hash[key] = convert_to_hash(convert.send(key), {})
end