Exception: Hobo::MissingDependencies

Inherits:
Error
  • Object
show all
Defined in:
lib/hobo/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#exit_code

Instance Method Summary collapse

Constructor Details

#initialize(deps) ⇒ MissingDependencies

Returns a new instance of MissingDependencies.



13
14
15
16
# File 'lib/hobo/errors.rb', line 13

def initialize deps
  deps.map! { |dep| " - #{dep}"}
  super("Hobo requires the following commands to be available on your path:\n\n" + deps.join("\n"))
end