Class: Homebrew::DependentsMessage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(requireds, dependents) ⇒ DependentsMessage

Returns a new instance of DependentsMessage



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

def initialize(requireds, dependents)
  @reqs = requireds
  @deps = dependents
end

Instance Attribute Details

#depsObject (readonly)

Returns the value of attribute deps



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

def deps
  @deps
end

#reqsObject (readonly)

Returns the value of attribute reqs



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

def reqs
  @reqs
end