Class: Homebrew::DependentsMessage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DependentsMessage.


173
174
175
176
177
# File 'Library/Homebrew/cmd/uninstall.rb', line 173

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

Instance Attribute Details

#depsObject (readonly)

Returns the value of attribute deps


171
172
173
# File 'Library/Homebrew/cmd/uninstall.rb', line 171

def deps
  @deps
end

#named_argsObject (readonly)

Returns the value of attribute named_args


171
172
173
# File 'Library/Homebrew/cmd/uninstall.rb', line 171

def named_args
  @named_args
end

#reqsObject (readonly)

Returns the value of attribute reqs


171
172
173
# File 'Library/Homebrew/cmd/uninstall.rb', line 171

def reqs
  @reqs
end