Class: Aruba::Platforms::UnixWhich::DefaultWhich

Inherits:
Object
  • Object
show all
Defined in:
lib/aruba/platforms/unix_which.rb

Overview

Bail out because this should never be reached

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.match?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/aruba/platforms/unix_which.rb', line 11

def self.match?(*)
  true
end

Instance Method Details

#call(program, path) ⇒ Object


15
16
17
# File 'lib/aruba/platforms/unix_which.rb', line 15

def call(program, path)
  fail %(Invalid input program "#{program}" and/or path "#{path}".)
end