Observed on Ruby 2.3, haven't checked other rubies
/usr/src/app/lib/agent/agent.rb:24: warning: method redefined; discarding old instance
/usr/local/lib/ruby/2.3.0/singleton.rb:138: warning: previous definition of instance was here
I suspect include Singleton defines an instance method, then we're redefining it below.
Observed on Ruby 2.3, haven't checked other rubies
I suspect
include Singleton
defines aninstance
method, then we're redefining it below.