aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/queue_priority.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/lib/active_job/queue_priority.rb')
-rw-r--r--activejob/lib/active_job/queue_priority.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activejob/lib/active_job/queue_priority.rb b/activejob/lib/active_job/queue_priority.rb
index 01d84910ff..b02202fcc8 100644
--- a/activejob/lib/active_job/queue_priority.rb
+++ b/activejob/lib/active_job/queue_priority.rb
@@ -17,7 +17,7 @@ module ActiveJob
# end
#
# Specify either an argument or a block.
- def queue_with_priority(priority=nil, &block)
+ def queue_with_priority(priority = nil, &block)
if block_given?
self.priority = block
else
@@ -39,6 +39,5 @@ module ActiveJob
end
@priority
end
-
end
end