From 5af5a46bc6a96520ad18da0c6b42c6a0f523fcbb Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Tue, 3 Nov 2020 17:55:55 +0000 Subject: Just chuck it in initialize --- lib/longboat/raiders.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/longboat/raiders.rb b/lib/longboat/raiders.rb index f907f01..cd93858 100644 --- a/lib/longboat/raiders.rb +++ b/lib/longboat/raiders.rb @@ -15,9 +15,7 @@ module Longboat cname = reqname.split('_').map(&:capitalize).join require "#{dir}/#{reqname}" - raider = Kernel.const_get(cname).new(@collector, raider_config) - raider.configure! if raider.respond_to?(:configure!) - @raiders[reqname] = raider + @raiders[reqname] = Kernel.const_get(cname).new(@collector, raider_config) end end end -- cgit v1.2.1