Sha256: 6aeec7ea1e09b5a64c20fe252ec73807022fc50a3742a1be3b8f26602c830f9b

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

require "backburner"

Backburner::Worker.class_eval do
  class << self; alias_method :original_enqueue, :enqueue; end
  def self.enqueue(job_class, args = [], opts = {})
    job_class.perform(*args)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-on-quails-0.1.0 activejob/test/support/backburner/inline.rb