ruby-tty-which

platform-independent implementation of Unix which command

Description

This library provides a platform-independent analogue of Unix `which` command.

TTY::Which has a `which` method that searches set of directories for an executable file based on the `PATH` environment variable, which returns an absolute path if the executable program exists, and `nil` otherwise.

This is part of the TTY components framework to easily build terminal applications in Ruby.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://ttytoolkit.org


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-tty-which