class Utils::ConfigFile::SshTunnel
def multiplexer_attach(session)
-
(String)
- a formatted command string ready for execution
Parameters:
-
session
(String
) -- the name or identifier of the session to attach to
def multiplexer_attach(session) case @multiplexer when 'screen' 'screen -DUR "%s"' % session when 'tmux' 'tmux -u attach -d -t "%s"' % session end end