Exception: Bits::MissingDependencies
- Inherits:
-
CommandException
- Object
- Exception
- CommandException
- Bits::MissingDependencies
- Defined in:
- lib/bits/exceptions.rb
Overview
Indicate that some dependencies are missing
Instance Attribute Summary collapse
-
#missing ⇒ Object
readonly
Returns the value of attribute missing.
Instance Method Summary collapse
-
#initialize(missing) ⇒ MissingDependencies
constructor
A new instance of MissingDependencies.
- #missing_s ⇒ Object
Constructor Details
#initialize(missing) ⇒ MissingDependencies
Returns a new instance of MissingDependencies.
15 16 17 18 |
# File 'lib/bits/exceptions.rb', line 15 def initialize(missing) @missing = missing super "Missing dependencies: #{missing_s}" end |
Instance Attribute Details
#missing ⇒ Object (readonly)
Returns the value of attribute missing.
13 14 15 |
# File 'lib/bits/exceptions.rb', line 13 def missing @missing end |
Instance Method Details
#missing_s ⇒ Object
20 21 22 |
# File 'lib/bits/exceptions.rb', line 20 def missing_s @missing.join ', ' end |