1
0
Fork 0
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:
Rafael Mendonça França 2015-03-16 14:36:16 -03:00
commit 82c2baf534

View file

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