edge badge
Namespace
Methods
P
Instance Public methods
priority()

Returns the priority that the job will be created with

# File activejob/lib/active_job/queue_priority.rb, line 35
def priority
  if @priority.is_a?(Proc)
    @priority = instance_exec(&@priority)
  end
  @priority
end