Sha256: 9398296a84e00eb2dfc4aaffa0426d0c5c1d0bb81175805996e8d38d15a9c0d5

Contents?: true

Size: 225 Bytes

Versions: 6

Compression:

Stored size: 225 Bytes

Contents

class <%= file_name.camelize %>Worker < BackgrounDRb::MetaWorker
  set_worker_name :<%= file_name.underscore %>_worker
  def create(args = nil)
    # this method is called, when worker is loaded for the first time
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
backgroundrb-rails3-1.1.6 lib/generators/backgroundrb/worker/templates/worker.rb
backgroundrb-rails3-1.1.5 lib/generators/backgroundrb/worker/templates/worker.rb
backgroundrb-rails3-1.1.3 lib/generators/backgroundrb/worker/templates/worker.rb
backgroundrb-rails3-1.1.2 lib/generators/backgroundrb/worker/templates/worker.rb
backgroundrb-rails3-1.1.1 lib/generators/backgroundrb/worker/templates/worker.rb
backgroundrb-rails3-1.1 lib/generators/backgroundrb/worker/templates/worker.rb