Sha256: 3bd6be3bb6578c74c979178ea29fd11941a573e1a4fde907c2bec375f62145a9

Contents?: true

Size: 197 Bytes

Versions: 16

Compression:

Stored size: 197 Bytes

Contents

require 'mkit/status'
module MKIt
  class AWorker

    # Must define topics method on subclass 
    def initialize
      System[:job_manager].register_worker(self, self.topics)
    end 

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mkit-0.9.0 lib/mkit/workers/aworker.rb
mkit-0.8.0 lib/mkit/workers/aworker.rb
mkit-0.7.2 lib/mkit/workers/aworker.rb
mkit-0.7.1 lib/mkit/workers/aworker.rb
mkit-0.7.0 lib/mkit/workers/aworker.rb
mkit-0.6.3 lib/mkit/workers/aworker.rb
mkit-0.6.2 lib/mkit/workers/aworker.rb
mkit-0.6.1 lib/mkit/workers/aworker.rb
mkit-0.6.0 lib/mkit/workers/aworker.rb
mkit-0.5.0 lib/mkit/workers/aworker.rb
mkit-0.4.3 lib/mkit/workers/aworker.rb
mkit-0.4.2 lib/mkit/workers/aworker.rb
mkit-0.4.1 lib/mkit/workers/aworker.rb
mkit-0.4.0 lib/mkit/workers/aworker.rb
mkit-0.3.0 lib/mkit/workers/aworker.rb
mkit-0.2.0 lib/mkit/workers/aworker.rb