ActiveJob::QueuePriority Ruby on Rails 5.1.2 Module ActiveJob::QueuePriority activejob/lib/active_job/queue_priority.rb Namespace MODULE ActiveJob::QueuePriority::ClassMethods Methods P priority Instance Public methods priority() Link Returns the priority that the job will be created with Source: show | on GitHub # File activejob/lib/active_job/queue_priority.rb, line 36 def priority if @priority.is_a?(Proc) @priority = instance_exec(&@priority) end @priority end