aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/reloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/reloader.rb')
-rw-r--r--activesupport/lib/active_support/reloader.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/reloader.rb b/activesupport/lib/active_support/reloader.rb
index d88fcbcf78..5d1f0e1e66 100644
--- a/activesupport/lib/active_support/reloader.rb
+++ b/activesupport/lib/active_support/reloader.rb
@@ -22,8 +22,6 @@ module ActiveSupport
# unloaded.
#
class Reloader < ExecutionWrapper
- Null = Class.new(ExecutionWrapper) # :nodoc:
-
define_callbacks :prepare
define_callbacks :class_unload
@@ -54,7 +52,7 @@ module ActiveSupport
if check!
super
else
- Null.run!
+ Null
end
end