Class: TmuxConnector::Layout
- Inherits:
-
Object
- Object
- TmuxConnector::Layout
- Defined in:
- lib/tmux-connector/layout.rb
Instance Attribute Summary collapse
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
-
#merge_rules ⇒ Object
readonly
Returns the value of attribute merge_rules.
-
#merged_groups ⇒ Object
readonly
Returns the value of attribute merged_groups.
-
#raw_config ⇒ Object
readonly
Returns the value of attribute raw_config.
-
#windows ⇒ Object
readonly
Returns the value of attribute windows.
Instance Method Summary collapse
-
#initialize(config, groups, merge_rules) ⇒ Layout
constructor
A new instance of Layout.
Constructor Details
#initialize(config, groups, merge_rules) ⇒ Layout
Returns a new instance of Layout.
23 24 25 26 27 28 29 30 31 |
# File 'lib/tmux-connector/layout.rb', line 23 def initialize(config, groups, merge_rules) @raw_config = config @groups = groups @merge_rules = merge_rules @windows = [] generate end |
Instance Attribute Details
#groups ⇒ Object (readonly)
Returns the value of attribute groups.
17 18 19 |
# File 'lib/tmux-connector/layout.rb', line 17 def groups @groups end |
#merge_rules ⇒ Object (readonly)
Returns the value of attribute merge_rules.
18 19 20 |
# File 'lib/tmux-connector/layout.rb', line 18 def merge_rules @merge_rules end |
#merged_groups ⇒ Object (readonly)
Returns the value of attribute merged_groups.
19 20 21 |
# File 'lib/tmux-connector/layout.rb', line 19 def merged_groups @merged_groups end |
#raw_config ⇒ Object (readonly)
Returns the value of attribute raw_config.
20 21 22 |
# File 'lib/tmux-connector/layout.rb', line 20 def raw_config @raw_config end |
#windows ⇒ Object (readonly)
Returns the value of attribute windows.
21 22 23 |
# File 'lib/tmux-connector/layout.rb', line 21 def windows @windows end |