Class: Tlux::Window
- Inherits:
-
Object
- Object
- Tlux::Window
- Includes:
- Commandable, Splitable
- Defined in:
- lib/tlux/window.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, opts = {}) ⇒ Window
constructor
A new instance of Window.
Methods included from Commandable
#command, #commands, #directory
Methods included from Splitable
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/tlux/window.rb', line 6 def name @name end |