Class: Teamocil::Command::NewWindow
- Inherits:
-
Object
- Object
- Teamocil::Command::NewWindow
- Defined in:
- lib/teamocil/command/new_window.rb
Instance Method Summary collapse
Instance Method Details
#options ⇒ Object
8 9 10 11 12 13 |
# File 'lib/teamocil/command/new_window.rb', line 8 def [].tap do || << "-n '#{name}'" if name << "-c '#{root}'" if root end end |
#to_s ⇒ Object
4 5 6 |
# File 'lib/teamocil/command/new_window.rb', line 4 def to_s "new-window #{options.join(' ')}" end |