aboutsummaryrefslogtreecommitdiff
path: root/lib/longboat
diff options
context:
space:
mode:
authorNat Lasseter <nat.lasseter@york.ac.uk>2020-11-03 17:55:55 +0000
committerNat Lasseter <nat.lasseter@york.ac.uk>2020-11-03 17:55:55 +0000
commit5af5a46bc6a96520ad18da0c6b42c6a0f523fcbb (patch)
tree7bad040305ea5446227e6c19386e2e67006ec789 /lib/longboat
parentb859d0d0b638e03498d620dcfa09a6aacfe44f0e (diff)
Just chuck it in initialize
Diffstat (limited to 'lib/longboat')
-rw-r--r--lib/longboat/raiders.rb4
1 files changed, 1 insertions, 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