lib/rrj/tools/config.rb in ruby_rabbitmq_janus-1.1.1 vs lib/rrj/tools/config.rb in ruby_rabbitmq_janus-1.1.2
- old
+ new
@@ -29,10 +29,9 @@
private
# Load configuration file yaml
# @return [Yaml] Configuration file
# @param file [String] Path to configuration file (with name)
- # :reek:UtilityFunction { public_methods_only: true }
def load_configuration(file)
Tools::Log.instance.info("Loading configuration file : #{file}")
YAML.load(File.read(file))
rescue
raise Errors::ConfigFileNotFound, file