Module: Rails::Application::Finisher::InterlockHook

Defined in:
lib/rails/application/finisher.rb

Class Method Summary collapse

Class Method Details

.complete(_state) ⇒ Object



97
98
99
# File 'lib/rails/application/finisher.rb', line 97

def self.complete(_state)
  ActiveSupport::Dependencies.interlock.done_running
end

.runObject



93
94
95
# File 'lib/rails/application/finisher.rb', line 93

def self.run
  ActiveSupport::Dependencies.interlock.start_running
end