Spec-Zone.ru › Homebrew

Class: Formula::FormulaConflict Private

Inherits:
Struct
  • Object
  • Struct
  • Formula::FormulaConflict
show all
Defined in:
formula.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.

Used to track formulae that cannot be installed at the same time.

Instance Attribute Summary collapse

  • #name ⇒ Object private

    Returns the value of attribute name.

  • #reason ⇒ Object private

    Returns the value of attribute reason.

Instance Attribute Details

#name ⇒ Object

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 the value of attribute name

Returns:

  • (Object) —

    the current value of name



106
107
108
# File 'formula.rb', line 106

def name
  @name
end

#reason ⇒ Object

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 the value of attribute reason

Returns:

  • (Object) —

    the current value of reason



106
107
108
# File 'formula.rb', line 106

def reason
  @reason
end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Formula/FormulaConflict.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API