class Teamocil::Command::NewWindow

Public Instance Methods

options() click to toggle source
# File lib/teamocil/command/new_window.rb, line 8
def options
  [].tap do |options|
    options << "-n '#{name}'" if name
    options << "-c '#{root}'" if root
  end
end
to_s() click to toggle source
# File lib/teamocil/command/new_window.rb, line 4
def to_s
  "new-window #{options.join(' ')}"
end