Sha256: 3ba5ea68d9e030d978176726d4bcb81ec6154ba5bf961de6ceb56c210d950367

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 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

1 entries across 1 versions & 1 rubygems

Version Path
simple_worker-0.4.0 test/db_worker.rb