Module: OS::Mac::MissingFormula::ClassMethods Private

Defined in:
extend/os/mac/missing_formula.rb

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

Instance Method Summary collapse

Instance Method Details

#disallowed_reason(name) ⇒ String?

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.

Parameters:

Returns:



9
10
11
12
13
14
15
16
17
18
# File 'extend/os/mac/missing_formula.rb', line 9

def disallowed_reason(name)
  case name.downcase
  when "xcode"
    <<~EOS
      Xcode can be installed from the App Store.
    EOS
  else
    super
  end
end