class MultiWorker::Adapters::Inline
Public Class Methods
configure(base, opts={})
click to toggle source
# File lib/multi_worker/adapters/inline.rb, line 4 def self.configure(base, opts={}) base.instance_eval do def self.perform(*args) self.new.perform(*args) end def self.perform_async(*args) perform(*args) end def perform_async(*args) perform(*args) end end end
perform(*args)
click to toggle source
# File lib/multi_worker/adapters/inline.rb, line 6 def self.perform(*args) self.new.perform(*args) end
perform_async(*args)
click to toggle source
# File lib/multi_worker/adapters/inline.rb, line 10 def self.perform_async(*args) perform(*args) end
Public Instance Methods
perform_async(*args)
click to toggle source
# File lib/multi_worker/adapters/inline.rb, line 14 def perform_async(*args) perform(*args) end