aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/queue_adapter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_job/queue_adapter.rb')
-rw-r--r--lib/active_job/queue_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/queue_adapter.rb b/lib/active_job/queue_adapter.rb
index 0f510530a6..8f2f8b86ea 100644
--- a/lib/active_job/queue_adapter.rb
+++ b/lib/active_job/queue_adapter.rb
@@ -10,7 +10,7 @@ module ActiveJob
case name_or_adapter
when Symbol, String
load_adapter(name_or_adapter)
- else
+ when Class
name_or_adapter
end
end