Class: Lab42::Tmux::Window

Inherits:
Object show all
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

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

#commandObject (readonly)

Returns the value of attribute command.



8
9
10
# File 'lib/lab42/tmux/window.rb', line 8

def command
  @command
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/lab42/tmux/window.rb', line 8

def name
  @name
end

#numberObject (readonly)

Returns the value of attribute number.



8
9
10
# File 'lib/lab42/tmux/window.rb', line 8

def number
  @number
end

#sessionObject (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

#designationObject



11
12
13
# File 'lib/lab42/tmux/window.rb', line 11

def designation
  [session_name, number].join ":"
end