Method: ActiveSupport::Reloader.before_class_unload
- Defined in:
- lib/active_support/reloader.rb
.before_class_unload(*args, &block) ⇒ Object
Registers a callback that will run immediately before the classes are unloaded.
39 40 41 |
# File 'lib/active_support/reloader.rb', line 39 def self.before_class_unload(*args, &block) set_callback(:class_unload, *args, &block) end |