Class: Homebrew::Uninstall::DependentsMessage Private

Inherits:
Object
  • Object
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 collapse

Instance Method Summary collapse

Constructor Details

#initialize(requireds, dependents, named_args: []) ⇒ DependentsMessage

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.

Returns a new instance of DependentsMessage.



126
127
128
129
130
# File 'brew/Library/Homebrew/uninstall.rb', line 126

def initialize(requireds, dependents, named_args: [])
  @reqs = requireds
  @deps = dependents
  @named_args = named_args
end

Instance Attribute Details

#depsObject (readonly)

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.



124
125
126
# File 'brew/Library/Homebrew/uninstall.rb', line 124

def deps
  @deps
end

#named_argsObject (readonly)

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.



124
125
126
# File 'brew/Library/Homebrew/uninstall.rb', line 124

def named_args
  @named_args
end

#reqsObject (readonly)

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.



124
125
126
# File 'brew/Library/Homebrew/uninstall.rb', line 124

def reqs
  @reqs
end