Class: Rails::Application::Finisher::MutexHook
- Defined in:
- railties/lib/rails/application/finisher.rb
Instance Method Summary collapse
- #complete(_state) ⇒ Object
-
#initialize(mutex = Mutex.new) ⇒ MutexHook
constructor
A new instance of MutexHook.
- #run ⇒ Object
Constructor Details
#initialize(mutex = Mutex.new) ⇒ MutexHook
Returns a new instance of MutexHook.
133 134 135 |
# File 'railties/lib/rails/application/finisher.rb', line 133 def initialize(mutex = Mutex.new) @mutex = mutex end |