X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Frunner.rb;h=01fcc176e3cedd62935a9b81c5b3657437abd610;hp=c48f89a4f629168d657142871bc19f46ed781c27;hb=1231b3dcd3c59cd0855efe3ee02fc56c6380505d;hpb=a6ae98f0423603445b621a8eaa17443c8d590b45 diff --git a/lib/common/runner.rb b/lib/common/runner.rb index c48f89a..01fcc17 100644 --- a/lib/common/runner.rb +++ b/lib/common/runner.rb @@ -1,5 +1,12 @@ module Runner - def run(plugin, targets) + + def run(cfg, plugin, targets) raise NotImplementedError end + + def report(plugin, msg) + print "#{plugin.class.to_s()} - " + puts msg + end + end