Class: CaskLock Private

Inherits:
LockFile show all
Defined in:
Library/Homebrew/lock_file.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A lock file for a cask.

Instance Attribute Summary

Attributes inherited from LockFile

#path

Instance Method Summary collapse

Methods inherited from LockFile

#lock, #unlock, #with_lock

Constructor Details

#initialize(name) ⇒ CaskLock

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CaskLock.


62
63
64
# File 'Library/Homebrew/lock_file.rb', line 62

def initialize(name)
  super("#{name}.cask")
end