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

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

Class Method Summary collapse

Class Method Details

.complete(_state) ⇒ Object



95
96
97
# File 'lib/rails/application/finisher.rb', line 95

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

.runObject



91
92
93
# File 'lib/rails/application/finisher.rb', line 91

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