class Automux::Core::Tmux::Pane

Attributes

command[R]
window[R]

Public Class Methods

new(window, command) click to toggle source
# File lib/automux/core/tmux/pane.rb, line 8
def initialize(window, command)
  @window = window
  @command = command
end

Public Instance Methods

index() click to toggle source
# File lib/automux/core/tmux/pane.rb, line 13
def index
  window.panes.find_index(self)
end