Class: Appear::Tmux::Client
- Inherits:
-
TmuxValue
- Object
- Util::ValueClass
- TmuxValue
- Appear::Tmux::Client
- Defined in:
- lib/appear/tmux.rb
Overview
A tmux client.
Instance Method Summary collapse
-
#session ⇒ String
Session name.
-
#target ⇒ String
String suitable for use as the “target” specifier for a Tmux command.
-
#term ⇒ String
Term name.
-
#tty ⇒ String
Path to the TTY device of this client.
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
#session ⇒ String
Returns session name.
210 |
# File 'lib/appear/tmux.rb', line 210 property :session, :tmux => :client_session |
#target ⇒ String
String suitable for use as the “target” specifier for a Tmux command
215 216 217 |
# File 'lib/appear/tmux.rb', line 215 def target tty end |
#term ⇒ String
Returns term name.
207 |
# File 'lib/appear/tmux.rb', line 207 property :term, :tmux => :client_termname |
#tty ⇒ String
Returns path to the TTY device of this client.
204 |
# File 'lib/appear/tmux.rb', line 204 property :tty, :tmux => :client_tty |