aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-03-02 10:48:20 +1030
committerMatthew Draper <matthew@trebex.net>2016-03-02 10:48:20 +1030
commit7fa15fe694561b862773456edc11964556fb913b (patch)
tree9319b87ef22c128f1c3593fc3cad7156fed7fd24
parent15c308582f6d5c5576e6c355bf7c98d98f968adc (diff)
parentad340ecae17cbe356952ced531a0c7a0320d12f5 (diff)
downloadrails-7fa15fe694561b862773456edc11964556fb913b.tar.gz
rails-7fa15fe694561b862773456edc11964556fb913b.tar.bz2
rails-7fa15fe694561b862773456edc11964556fb913b.zip
Merge pull request #23991 from kamipo/fix_activesupport_reloader
Fix `ActiveSupport::Reloader.check!`
-rw-r--r--activesupport/lib/active_support/reloader.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/reloader.rb b/activesupport/lib/active_support/reloader.rb
index 639b987ba8..d88fcbcf78 100644
--- a/activesupport/lib/active_support/reloader.rb
+++ b/activesupport/lib/active_support/reloader.rb
@@ -65,10 +65,9 @@ module ActiveSupport
end
end
- class << self
- attr_accessor :executor
- attr_accessor :check
- end
+ class_attribute :executor
+ class_attribute :check
+
self.executor = Executor
self.check = lambda { false }