aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 }