Includes the setter method for changing the active queue adapter.

Methods
Q
Instance Public methods
queue_adapter=(name_or_adapter)

Specify the backend queue provider. The default queue adapter is the :inline queue. See QueueAdapters for more information.

# File activejob/lib/active_job/queue_adapter.rb, line 17
def queue_adapter=(name_or_adapter)
  @@queue_adapter =            case name_or_adapter
    when :test
      ActiveJob::QueueAdapters::TestAdapter.new
    when Symbol, String
      load_adapter(name_or_adapter)
    when Class
      name_or_adapter
    end
end