class Reloader

Ruby on Rails 7.1.6

Since v5.2.8.1

Available in: v5.2.8.1 v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Active Support Reloader

This class defines several callbacks:

to_prepare -- Run once at application startup, and also from
+to_run+.

to_run -- Run before a work run that is reloading. If
+reload_classes_only_on_change+ is true (the default), the class
unload will have already occurred.

to_complete -- Run after a work run that has reloaded. If
+reload_classes_only_on_change+ is false, the class unload will
have occurred after the work run, but before this callback.

before_class_unload -- Run immediately before the classes are
unloaded.

after_class_unload -- Run immediately after the classes are
unloaded.

Inherits from

ActiveSupport::ExecutionWrapper

Methods (defined here)

Methods (inherited)

From ActiveSupport::ExecutionWrapper (6)
From ActiveSupport::Callbacks (1)
From Object (17)
From ActiveSupport::Concern (3)
From ActiveSupport::DescendantsTracker (4)

Type at least 2 characters to search.

↑↓ navigate · open · esc close