method

after_class_unload

rails latest stable - Class: ActiveSupport::Reloader
after_class_unload(*args, &block)
public

Registers a callback that will run immediately after the classes are unloaded.