Methods
Class Public methods
new(mutex = Mutex.new)
📝 Source code
# File railties/lib/rails/application/finisher.rb, line 144
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 152
def complete(_state)
@mutex.unlock
end
🔎 See on GitHub
run()
📝 Source code
# File railties/lib/rails/application/finisher.rb, line 148
def run
@mutex.lock
end
🔎 See on GitHub