Class: Homebrew::NondeveloperDependentsMessage

Inherits:
DependentsMessage show all
Defined in:
Library/Homebrew/cmd/uninstall.rb

Instance Attribute Summary

Attributes inherited from DependentsMessage

#deps, #reqs

Instance Method Summary collapse

Methods inherited from DependentsMessage

#initialize

Constructor Details

This class inherits a constructor from Homebrew::DependentsMessage

Instance Method Details

#outputObject



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

def output
  ofail <<~EOS
    Refusing to uninstall #{list reqs}
    because #{they reqs} #{are_required_by_deps}.
    You can override this and force removal with:
      #{sample_command}
  EOS
end