lib/rrj/tools/bin/init.rb in ruby_rabbitmq_janus-2.6.0.pre.238 vs lib/rrj/tools/bin/init.rb in ruby_rabbitmq_janus-2.6.0.pre.239
- old
+ new
@@ -4,15 +4,17 @@
# then initialize binary
require 'rrj/info'
require 'ruby_rabbitmq_janus'
+# rubocop:disable Naming/ConstantName
::Log = if @logger_default
RubyRabbitmqJanus::Tools::Log.instance
else
require_relative @logger_path
@logger_class.constantize.instance
end
+# rubocop:enable Naming/ConstantName
Log.info "RRJ Version : #{RubyRabbitmqJanus::VERSION}"
Log.info RubyRabbitmqJanus::BANNER
require File.join(File.dirname(__FILE__), '..', '..', 'binary')