Class: Homebrew::Uninstall::NondeveloperDependentsMessage Private
- Inherits:
-
DependentsMessage
- Object
- DependentsMessage
- Homebrew::Uninstall::NondeveloperDependentsMessage
- Defined in:
- brew/Library/Homebrew/uninstall.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
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. You should avoid using this method if possible, as it may be removed or be changed in the future.
157 158 159 160 161 162 163 164 |
# File 'brew/Library/Homebrew/uninstall.rb', line 157 def output ofail <<~EOS Refusing to uninstall #{reqs.to_sentence} because #{"it".pluralize(reqs.count)} #{are_required_by_deps}. You can override this and force removal with: #{sample_command} EOS end |