Exception: ResourceMissingError

Inherits:
ArgumentError
  • Object
show all
Defined in:
Library/Homebrew/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(formula, resource) ⇒ ResourceMissingError

Returns a new instance of ResourceMissingError



549
550
551
# File 'Library/Homebrew/exceptions.rb', line 549

def initialize(formula, resource)
  super "#{formula.full_name} does not define resource #{resource.inspect}"
end