lib/qwirk/base_worker.rb in qwirk-0.1.0 vs lib/qwirk/base_worker.rb in qwirk-0.2.0

- old
+ new

@@ -2,11 +2,11 @@ module Qwirk # TODO: Is this necessary anymore or just put in worker.rb? Decide when flat file adapter is implemented. module BaseWorker - attr_accessor :index, :thread, :config + attr_accessor :index, :config module ClassMethods def default_name name = self.name.sub(/Worker$/, '') name.sub(/::/, '_') @@ -67,13 +67,9 @@ @worker_classes ||= [] end def stop raise "Need to override stop method in #{self.class.name}" - end - - def join - thread.join end def status raise "Need to override status method in #{self.class.name}" end