Class | File |
In: |
lib/puppet/external/lock.rb
|
Parent: | Object |
Get an exclusive (i.e., write) lock on the file, and yield to the block. If the lock is not available, wait for it without blocking other ruby threads.