Exception: Crabfarm::BinaryMissingError

Inherits:
ConfigurationError show all
Defined in:
lib/crabfarm/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#binaryObject

Returns the value of attribute binary.



9
10
11
# File 'lib/crabfarm/errors.rb', line 9

def binary
  @binary
end

#pathObject

Returns the value of attribute path.



10
11
12
# File 'lib/crabfarm/errors.rb', line 10

def path
  @path
end