Exception: UnsatisfiedRequirements

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

Instance Method Summary collapse

Constructor Details

#initialize(reqs) ⇒ UnsatisfiedRequirements

Returns a new instance of UnsatisfiedRequirements



305
306
307
308
309
310
311
# File 'brew/Library/Homebrew/exceptions.rb', line 305

def initialize(reqs)
  if reqs.length == 1
    super "An unsatisfied requirement failed this build."
  else
    super "Unsatisfied requirements failed this build."
  end
end