Class: Rails::Application::Finisher::MonitorHook
- Defined in:
- railties/lib/rails/application/finisher.rb
Overview
:nodoc:
Instance Method Summary collapse
- #complete(_state) ⇒ Object
-
#initialize(monitor = Monitor.new) ⇒ MonitorHook
constructor
A new instance of MonitorHook.
- #run ⇒ Object
Constructor Details
#initialize(monitor = Monitor.new) ⇒ MonitorHook
Returns a new instance of MonitorHook.
97 98 99 |
# File 'railties/lib/rails/application/finisher.rb', line 97 def initialize(monitor = Monitor.new) @monitor = monitor end |