Class: FormulaLock 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 formula.
Instance Attribute Summary
Attributes inherited from LockFile
Instance Method Summary collapse
-
#initialize(rack_name) ⇒ FormulaLock
constructor
private
A new instance of FormulaLock.
Methods inherited from LockFile
Methods included from Utils::Output::Mixin
#odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #pretty_deprecated, #pretty_disabled, #pretty_duration, #pretty_installed, #pretty_outdated, #pretty_uninstalled
Constructor Details
#initialize(rack_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.
97 98 99 |
# File 'lock_file.rb', line 97 def initialize(rack_name) super(:formula, HOMEBREW_CELLAR/rack_name) end |