Exception: RuAUR::Error::MissingDependency

Inherits:
RuAUR::Error
  • Object
show all
Defined in:
lib/ruaur/error/missing_dependency.rb

Instance Method Summary collapse

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