Exception: RuAUR::Error::MissingDependency
- Inherits:
-
RuAUR::Error
- Object
- RuntimeError
- RuAUR::Error
- RuAUR::Error::MissingDependency
- Defined in:
- lib/ruaur/error/missing_dependency.rb
Instance Method Summary collapse
-
#initialize(dep = nil) ⇒ MissingDependency
constructor
A new instance of MissingDependency.
Constructor Details
#initialize(dep = nil) ⇒ MissingDependency
Returns a new instance of MissingDependency.
2 3 4 5 |
# File 'lib/ruaur/error/missing_dependency.rb', line 2 def initialize(dep = nil) super("Dependency not found: #{dep}") if (dep) super("Dependency not found") if (dep.nil?) end |