Class: Teamocil::Command::ListPanes

Inherits:
Object
  • Object
show all
Defined in:
lib/teamocil/command/list_panes.rb

Instance Method Summary collapse

Instance Method Details

#optionsObject



8
9
10
11
12
# File 'lib/teamocil/command/list_panes.rb', line 8

def options
  [].tap do |options|
    options << "-t '#{index}'" if index
  end
end

#to_sObject



4
5
6
# File 'lib/teamocil/command/list_panes.rb', line 4

def to_s
  "list-panes #{options.join(' ')}"
end