Method: File#lock_exclusive

Defined in:
lib/fsdb/file-lock.rb,
lib/fsdb/file-lock.rb,
lib/fsdb/file-lock.rb

#lock_exclusive(lock_type) ⇒ Object

Get an exclusive (i.e., write) lock on the file. If the lock is not available, wait for it without blocking other ruby threads.



17
18
# File 'lib/fsdb/file-lock.rb', line 17

def lock_exclusive lock_type    # :nodoc
end