Exception: Gotta::Mod::MissingDependencyError
- Inherits:
-
StandardError
- Object
- StandardError
- Gotta::Mod::MissingDependencyError
- Defined in:
- lib/gotta/mod/hub.rb
Instance Method Summary collapse
-
#initialize(source, dep) ⇒ MissingDependencyError
constructor
A new instance of MissingDependencyError.
Constructor Details
#initialize(source, dep) ⇒ MissingDependencyError
Returns a new instance of MissingDependencyError.
8 9 10 11 |
# File 'lib/gotta/mod/hub.rb', line 8 def initialize(source, dep) msg = "The mod '#{source}' depends on '#{dep}', but '#{dep}' is not installed in this project. Installed mods: #{Mod.hub.loaded_mods.to_a}" super msg end |