ads_common/lib/ads_common/config.rb
def read(property_path, default_value = nil)
      result = find_value(@config, property_path)
      return (result.nil?) ? default_value : result
    end
def read(property_path, default_value = nil)
      result = find_value(@config, property_path)
      return (result.nil?) ? default_value : result
    end
def read ( property_path , default_value = nil ) result = find_value ( @config , property_path ) return ( result . nil? ) ? default_value : result end
Initialized the Config object with either the contents of a provided file
 or a provided hash.
 Reads a property or category from the loaded configuration.
 They can be indexed using a dot-based notation (e.g. "category.property"
 to access "property" under "category").

 Returns the specified default if no value found.
Initialized the Config object with either the contents of a provided file or a provided hash . Reads a property or category from the loaded configuration . They can be indexed using a dot - based notation ( e . g . category . property to access property under category ) .