Rails::Application::Finisher::MutexHook Ruby on Rails 5.1.2 Class Rails::Application::Finisher::MutexHook < Object railties/lib/rails/application/finisher.rb Methods C complete N new R run Class Public methods new(mutex = Mutex.new) Link Source: show | on GitHub # File railties/lib/rails/application/finisher.rb, line 77 def initialize(mutex = Mutex.new) @mutex = mutex end Instance Public methods complete(_state) Link Source: show | on GitHub # File railties/lib/rails/application/finisher.rb, line 85 def complete(_state) @mutex.unlock end run() Link Source: show | on GitHub # File railties/lib/rails/application/finisher.rb, line 81 def run @mutex.lock end