Exception: Yoker::MissingDependencyError
- Defined in:
- lib/yoker/errors.rb
Overview
Raised when required external tools are missing
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(tool, installation_hint = nil) ⇒ MissingDependencyError
constructor
A new instance of MissingDependencyError.
Constructor Details
#initialize(tool, installation_hint = nil) ⇒ MissingDependencyError
Returns a new instance of MissingDependencyError.
16 17 18 19 20 |
# File 'lib/yoker/errors.rb', line 16 def initialize(tool, installation_hint = nil) = "Required tool '#{tool}' is not installed or not in PATH." += " #{installation_hint}" if installation_hint super() end |