class Utils::ConfigFile::SshTunnel

def multiplexer_new(session)

Returns:
  • (String, nil) - a command string for creating a new session in screen

Parameters:
  • session (String) -- the name of the session to be created
def multiplexer_new(session)
  case @multiplexer
  when 'screen'
    'false'
  when 'tmux'
    'tmux -u new -s "%s"' % session
  end
end