diff options
author | Matthew Draper <matthew@trebex.net> | 2016-03-02 10:48:20 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-03-02 10:48:20 +1030 |
commit | 7fa15fe694561b862773456edc11964556fb913b (patch) | |
tree | 9319b87ef22c128f1c3593fc3cad7156fed7fd24 /activesupport | |
parent | 15c308582f6d5c5576e6c355bf7c98d98f968adc (diff) | |
parent | ad340ecae17cbe356952ced531a0c7a0320d12f5 (diff) | |
download | rails-7fa15fe694561b862773456edc11964556fb913b.tar.gz rails-7fa15fe694561b862773456edc11964556fb913b.tar.bz2 rails-7fa15fe694561b862773456edc11964556fb913b.zip |
Merge pull request #23991 from kamipo/fix_activesupport_reloader
Fix `ActiveSupport::Reloader.check!`
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/reloader.rb | 7 |
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 } |