Methods
Class Public methods
new(mutex = Mutex.new)
📝 Source code
# File railties/lib/rails/application/finisher.rb, line 79
def initialize(mutex = Mutex.new)
@mutex = mutex
end
🔎 See on GitHub
Instance Public methods
complete(_state)
📝 Source code
# File railties/lib/rails/application/finisher.rb, line 87
def complete(_state)
@mutex.unlock
end
🔎 See on GitHub
run()
📝 Source code
# File railties/lib/rails/application/finisher.rb, line 83
def run
@mutex.lock
end
🔎 See on GitHub