Class Teamocil::Layout
In: lib/teamocil/layout.rb
lib/teamocil/layout/window.rb
lib/teamocil/layout/split.rb
lib/teamocil/layout/session.rb
Parent: Object

This class act as a wrapper around a tmux YAML layout file

Methods

Classes and Modules

Class Teamocil::Layout::Session
Class Teamocil::Layout::Split
Class Teamocil::Layout::Window

Attributes

session  [R] 

Public Class methods

Initialize a new layout from a hash

@param layout [Hash] the parsed layout @param options [Hash] some options

Public Instance methods

Compile the layout into objects

@return [Session]

Execute each command in the shell

@param commands [Array] an array of complete commands to send to the shell

Generate tmux commands based on the data found in the layout file

@return [Array] an array of shell commands to send

[Validate]