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

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

Class Method Summary collapse

Class Method Details

.complete(_state) ⇒ Object



87
88
89
# File 'lib/rails/application/finisher.rb', line 87

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

.runObject



83
84
85
# File 'lib/rails/application/finisher.rb', line 83

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