Class: FormulaLock Private

Inherits:
LockFile show all
Defined in:
lock_file.rb

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 formula.

Instance Attribute Summary

Attributes inherited from LockFile

#path

Instance Method Summary collapse

Methods inherited from LockFile

#lock, #unlock, #with_lock

Constructor Details

#initialize(name) ⇒ FormulaLock

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 FormulaLock.



54
55
56
# File 'lock_file.rb', line 54

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