Class: Homebrew::Uninstall::NondeveloperDependentsMessage Private
- Inherits:
-
DependentsMessage
- Object
- DependentsMessage
- Homebrew::Uninstall::NondeveloperDependentsMessage
- Defined in:
- uninstall.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.
Instance Attribute Summary
Attributes inherited from DependentsMessage
Instance Method Summary collapse
-
#output ⇒ Object
private
Methods inherited from DependentsMessage
Constructor Details
This class inherits a constructor from Homebrew::Uninstall::DependentsMessage
Instance Method Details
#output ⇒ 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.
157 158 159 160 161 162 163 164 |
# File 'uninstall.rb', line 157 def output ofail <<~EOS Refusing to uninstall #{reqs.to_sentence} because #{(reqs.count == 1) ? "it" : "they"} #{are_required_by_deps}. You can override this and force removal with: #{sample_command} EOS end |