mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #19352 from artofhuman/master
Move Adapter to private constant
This commit is contained in:
commit
82c2baf534
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ module ActiveJob
|
||||||
autoload :TestAdapter
|
autoload :TestAdapter
|
||||||
|
|
||||||
ADAPTER = 'Adapter'.freeze
|
ADAPTER = 'Adapter'.freeze
|
||||||
|
private_constant :ADAPTER
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def lookup(name)
|
def lookup(name)
|
||||||
|
|
Loading…
Reference in a new issue