Endpoint
Executable and socket selection. Construction starts no clients.
Source and package
- Qualified name
-
LibTmux:: Endpoint - Module
- LibTmux
- Package
- libtmux
- Source
- gems/libtmux/lib/libtmux/endpoint.rb
-
Description#
Endpoint.new()takes asocket_path:or asocket_name:. With neither, it picks the socket as tmux does when it is given none, andenvironment:(the process environment by default) decides which: the path inLIBTMUX_SOCKET_PATH, else the name inLIBTMUX_SOCKET, else the socketTMUXnames when run inside tmux, else tmux'sdefaultsocket. A variable that is empty counts as unset, and a socket given as an argument ignores the variables. {.from_env} skips theLIBTMUX_*variables.
Members8#
- == method Behavior: Endpoints.
- eql? method Behavior: Endpoints.
- executable method Returns the value of attribute executable.
- from_env method The socket of the tmux server this process runs inside, else tmux's
defaultsocket. It ignoresLIBTMUX_SOCKET_PATHandLIBTMUX_SOCKET. - hash method Behavior: Endpoints.
- inspect method Behavior: Endpoints.
- new method Behavior: Endpoints.
- socket_path method Returns the value of attribute socket_path.