Sha256: 19487a611d29518e631dbdcfec5ac66f002807d8aacf72d7f42419fbf4d269f1

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

require 'mysql2'

class DbWorker < SimpleWorker::Base
  attr_accessor :array_of_models
  merge 'trace_object'

  def run
    to = TraceObject.find(:first)
    log to.inspect
    @object = to
  end

  def ob
    @object
  end


end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_worker-0.5.8 test/db_worker.rb
simple_worker-0.5.6 test/db_worker.rb
simple_worker-0.5.5 test/db_worker.rb
simple_worker-0.5.4 test/db_worker.rb
simple_worker-0.5.2 test/db_worker.rb
simple_worker-0.5.1 test/db_worker.rb