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

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

Class Method Summary collapse

Class Method Details

.complete(_state) ⇒ Object



162
163
164
# File 'lib/rails/application/finisher.rb', line 162

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

.runObject



158
159
160
# File 'lib/rails/application/finisher.rb', line 158

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