class Asynchronic::QueueEngine::Synchronic::MockJob

Attributes

block[R]
process[R]

Public Class Methods

new(job, process, &block) click to toggle source
Calls superclass method
# File lib/asynchronic/queue_engine/synchronic.rb, line 70
def initialize(job, process, &block)
  super job
  @process = process
  @block = block
end

Public Instance Methods

before_finalize() click to toggle source
# File lib/asynchronic/queue_engine/synchronic.rb, line 80
def before_finalize
end
call() click to toggle source
# File lib/asynchronic/queue_engine/synchronic.rb, line 76
def call
  block.call process
end