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

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

Class Method Summary collapse

Class Method Details

.complete(_state) ⇒ Object



151
152
153
# File 'lib/rails/application/finisher.rb', line 151

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

.runObject



147
148
149
# File 'lib/rails/application/finisher.rb', line 147

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