Class: CaskLock Private
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
A lock file for a cask.
Instance Attribute Summary
Attributes inherited from LockFile
Instance Method Summary collapse
-
#initialize(name) ⇒ CaskLock
constructor
private
A new instance of CaskLock.
Methods inherited from LockFile
Constructor Details
#initialize(name) ⇒ CaskLock
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Returns a new instance of CaskLock.
61 62 63 |
# File 'lock_file.rb', line 61 def initialize(name) super("#{name}.cask") end |