module ActiveJob::QueueName
Public instance methods
Returns the name of the queue the job will be run on.
Source code GitHub
# File activejob/lib/active_job/queue_name.rb, line 61
def queue_name
if @queue_name.is_a?(Proc)
@queue_name = self.class.queue_name_from_part(instance_exec(&@queue_name))
end
@queue_name
end