diff options
author | Semyon Pupkov <semen.pupkov@gmail.com> | 2015-03-16 12:52:44 +0500 |
---|---|---|
committer | Semyon Pupkov <semen.pupkov@gmail.com> | 2015-03-16 17:30:37 +0500 |
commit | 607b0069b3c874487afc33e63d72a44490eb09b2 (patch) | |
tree | 2b546d8ef8aa18657fa0ffb389383430de5e7ba9 | |
parent | a5a4b56029f1a83cfc81852f8ca76f9161abcbaa (diff) | |
download | rails-607b0069b3c874487afc33e63d72a44490eb09b2.tar.gz rails-607b0069b3c874487afc33e63d72a44490eb09b2.tar.bz2 rails-607b0069b3c874487afc33e63d72a44490eb09b2.zip |
Move Adapter to private constant
-rw-r--r-- | activejob/lib/active_job/queue_adapters.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/lib/active_job/queue_adapters.rb b/activejob/lib/active_job/queue_adapters.rb index 29f28963b4..b3d91dc562 100644 --- a/activejob/lib/active_job/queue_adapters.rb +++ b/activejob/lib/active_job/queue_adapters.rb @@ -50,6 +50,7 @@ module ActiveJob autoload :TestAdapter ADAPTER = 'Adapter'.freeze + private_constant :ADAPTER class << self def lookup(name) |