Class: Homebrew::Bundle::Checker::BrewChecker Private

Inherits:
Base
  • Object
show all
Defined in:
bundle/brew_checker.rb

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.

Constant Summary collapse

PACKAGE_TYPE =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

:brew
PACKAGE_TYPE_NAME =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

"Formula"

Instance Method Summary collapse

Methods inherited from Base

#checkable_entries, #exit_early_check, #failure_reason, #find_actionable, #format_checkable, #full_check

Instance Method Details

#installed_and_up_to_date?(formula, no_upgrade: false) ⇒ Boolean

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:

  • (Boolean)


13
14
15
# File 'bundle/brew_checker.rb', line 13

def installed_and_up_to_date?(formula, no_upgrade: false)
  Homebrew::Bundle::BrewInstaller.formula_installed_and_up_to_date?(formula, no_upgrade:)
end