Exception: Crabfarm::BinaryMissingError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- Crabfarm::BinaryMissingError
- Defined in:
- lib/crabfarm/errors.rb
Instance Attribute Summary collapse
-
#binary ⇒ Object
Returns the value of attribute binary.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(_binary, _path) ⇒ BinaryMissingError
constructor
A new instance of BinaryMissingError.
Constructor Details
#initialize(_binary, _path) ⇒ BinaryMissingError
Returns a new instance of BinaryMissingError.
12 13 14 15 16 |
# File 'lib/crabfarm/errors.rb', line 12 def initialize(_binary, _path) @binary = _binary @path = _path super "Could not find a suitable version of #{@binary}" end |
Instance Attribute Details
#binary ⇒ Object
Returns the value of attribute binary.
9 10 11 |
# File 'lib/crabfarm/errors.rb', line 9 def binary @binary end |
#path ⇒ Object
Returns the value of attribute path.
10 11 12 |
# File 'lib/crabfarm/errors.rb', line 10 def path @path end |