lab42_tmux2 0.0.1pre → 0.0.1pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lab42/tmux/session.rb +2 -1
- data/lib/lab42/tmux/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b296b9c2f6de2710e5e974eb2c392baf133f2e0e
|
4
|
+
data.tar.gz: 7401c7875cdb671b61f67f51f3c0a206facb5937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69510c2287c20f782a421c42c5dbf639cc9e79ff2433b7c976b6fb29d1a8b72c36a0a8e10df59c1a0a2f20821c1d817848969eb88b583f297fdefd9ccca96429
|
7
|
+
data.tar.gz: c3e289007ca737e224198892f4f678083c133a69eacf3995018392b46efbd8cc92630d8cd3a1a5705c8a1057bd9d53710341e9a95164cc81cb4a236298b66563
|
data/lib/lab42/tmux/session.rb
CHANGED
@@ -7,7 +7,7 @@ module Lab42
|
|
7
7
|
attr_reader :commands, :name, :win_number
|
8
8
|
|
9
9
|
def define block
|
10
|
-
|
10
|
+
@definition_block = block
|
11
11
|
end
|
12
12
|
|
13
13
|
def run!
|
@@ -17,6 +17,7 @@ module Lab42
|
|
17
17
|
|
18
18
|
def run
|
19
19
|
create_session_and_windows unless running?
|
20
|
+
instance_exec( &@definition_block ) if @definition_block
|
20
21
|
attach
|
21
22
|
end
|
22
23
|
|
data/lib/lab42/tmux/version.rb
CHANGED