mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clarify that the other option for name_or_adapter is to be a class (the Adapter class)
This commit is contained in:
parent
fa47832950
commit
9c8c6bf439
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module ActiveJob
|
||||||
case name_or_adapter
|
case name_or_adapter
|
||||||
when Symbol, String
|
when Symbol, String
|
||||||
load_adapter(name_or_adapter)
|
load_adapter(name_or_adapter)
|
||||||
else
|
when Class
|
||||||
name_or_adapter
|
name_or_adapter
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue