Class: Lab42::Tmux::Window
- Extended by:
- Forwarder
- Includes:
- Command
- Defined in:
- lib/lab42/tmux/window.rb,
lib/lab42/tmux/window/command.rb,
lib/lab42/tmux/window/command/vim_command.rb
Defined Under Namespace
Modules: Command
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#session ⇒ Object
readonly
Returns the value of attribute session.
Instance Method Summary collapse
Methods included from Command
#tmux_cd_project_home, #tmux_commands, #tmux_new_window, #tmux_send_keys
Methods included from Command::VimCommand
#vim_command, #vim_commands, #vim_set_commands
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
8 9 10 |
# File 'lib/lab42/tmux/window.rb', line 8 def command @command end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/lab42/tmux/window.rb', line 8 def name @name end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
8 9 10 |
# File 'lib/lab42/tmux/window.rb', line 8 def number @number end |
#session ⇒ Object (readonly)
Returns the value of attribute session.
8 9 10 |
# File 'lib/lab42/tmux/window.rb', line 8 def session @session end |
Instance Method Details
#designation ⇒ Object
11 12 13 |
# File 'lib/lab42/tmux/window.rb', line 11 def designation [session_name, number].join ":" end |