class AutomateIt::ShellManager::WhichUnix

ShellManager::WhichUnix

A ShellManager driver providing access to the which command found on Unix-like systems.

Public Instance Methods

which(command) click to toggle source

See ShellManager#which

# File lib/automateit/shell_manager/which_unix.rb, line 11
def which(command)
  _which_helper do
    `which #{command} 2>&1`
  end
end