Class: Tlux::Window

Inherits:
Object
  • Object
show all
Includes:
Commandable, Splitable
Defined in:
lib/tlux/window.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Commandable

#command, #commands, #directory

Methods included from Splitable

#panes, #split

Constructor Details

#initialize(name, opts = {}) ⇒ Window

Returns a new instance of Window.



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

def initialize(name, opts = {})
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/tlux/window.rb', line 6

def name
  @name
end