method

unlock

ruby latest stable - Class: Mutex
unlock()
public

Releases the lock. Raises ThreadError if mutex wasn’t locked by the current thread.