class method
self.before_class_unload
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
self.before_class_unload(*args, &block)
Registers a callback that will run immediately before the classes are unloaded.
Parameters
-
argsrest -
blockblock
Source
# File activesupport/lib/active_support/reloader.rb, line 37
def self.before_class_unload(*args, &block)
set_callback(:class_unload, *args, &block)
end
Defined in activesupport/lib/active_support/reloader.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Reloader