Skip to Content Skip to Search
Methods
C
N
R

Class Public methods

new(mutex = Mutex.new)

# File railties/lib/rails/application/finisher.rb, line 144
def initialize(mutex = Mutex.new)
  @mutex = mutex
end

Instance Public methods

complete(_state)

# File railties/lib/rails/application/finisher.rb, line 152
def complete(_state)
  @mutex.unlock
end

run()

# File railties/lib/rails/application/finisher.rb, line 148
def run
  @mutex.lock
end