Class: Homebrew::Uninstall::NondeveloperDependentsMessage Private

Inherits:
DependentsMessage show all
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

#deps, #named_args, #reqs

Instance Method Summary collapse

Methods inherited from DependentsMessage

#initialize

Constructor Details

This class inherits a constructor from Homebrew::Uninstall::DependentsMessage

Instance Method Details

#outputObject

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.



154
155
156
157
158
159
160
161
# File 'brew/Library/Homebrew/uninstall.rb', line 154

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