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)


13
14
15
# File 'lib/aruba/platforms/unix_which.rb', line 13

def self.match?(*)
  true
end

Instance Method Details

#call(program, path) ⇒ Object



17
18
19
# File 'lib/aruba/platforms/unix_which.rb', line 17

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