1
0
Fork 0
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:
David Heinemeier Hansson 2014-05-20 12:06:59 +02:00
parent fa47832950
commit 9c8c6bf439

View file

@ -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