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