Class: Appear::Tmux::Client

Inherits:
TmuxValue show all
Defined in:
lib/appear/tmux.rb

Overview

A tmux client.

Instance Method Summary collapse

Methods inherited from TmuxValue

format_string, parse, property, #tmux

Methods inherited from Util::ValueClass

#initialize, properties, property

Constructor Details

This class inherits a constructor from Appear::Util::ValueClass

Instance Method Details

#sessionString

Returns session name.

Returns:

  • (String)

    session name



210
# File 'lib/appear/tmux.rb', line 210

property :session, :tmux => :client_session

#targetString

String suitable for use as the “target” specifier for a Tmux command

Returns:

  • (String)


215
216
217
# File 'lib/appear/tmux.rb', line 215

def target
  tty
end

#termString

Returns term name.

Returns:

  • (String)

    term name



207
# File 'lib/appear/tmux.rb', line 207

property :term, :tmux => :client_termname

#ttyString

Returns path to the TTY device of this client.

Returns:

  • (String)

    path to the TTY device of this client



204
# File 'lib/appear/tmux.rb', line 204

property :tty, :tmux => :client_tty