circuits 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/circuits/terminal/input.rb +2 -2
- data/lib/circuits/terminal/output.rb +2 -2
- data/lib/circuits/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTg3NGUyOTA3YzMxOWY3ZjZjZDU4N2IwZmZmNjMyOTRhZTNkNjBmMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGJlODgwMzE1Mzk0MjQ1NGI4ZWY0NWRlMjFkZmU4NjkyNmQ1NGY4Zg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWJhOTVhY2IzNWZhNzM5YzNjZDlkYzUzMGZiNzg2OTdkOTZjNTg4ZmRjMjY2
|
10
|
+
MDg3YzRlMzFkODg3YWJiZjQzMzA0ODNkM2E5ODhmYmJjYTcyZjc1ZjczZDlh
|
11
|
+
MzgwZjc2YmRmODZjMjUwMGNkYTI0ZjgxYzFjNzAzOWYxNjhjMjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTFkZDRiNzQzZTU1YzhjN2MwOTMxYTZjNDkxNTQ5M2Y5YzllODgyZjRjMzIx
|
14
|
+
ZmFlZTBjZTlmMGQyYWNjNmI3OTRmZDc1YmQ4N2M5NGJkZDE2ZmNlMTlhZjM3
|
15
|
+
MmI0ZjhhMDA5NzM3NTY0YWMwYWU2MjY2NTVjNmE0OTY0YzViM2I=
|
@@ -14,13 +14,13 @@ module Circuits
|
|
14
14
|
attr_accessor :output
|
15
15
|
|
16
16
|
# Forward get to the output
|
17
|
-
# @return [
|
17
|
+
# @return [Boolean] The state of the output
|
18
18
|
def get
|
19
19
|
output.get
|
20
20
|
end
|
21
21
|
|
22
22
|
# Create a new output to use
|
23
|
-
# @param [
|
23
|
+
# @param [Boolean] s The state of the output to create
|
24
24
|
def set(s)
|
25
25
|
@output = Circuits::Terminal::Output.new(state: s)
|
26
26
|
end
|
@@ -10,13 +10,13 @@ module Circuits
|
|
10
10
|
end
|
11
11
|
|
12
12
|
# Gets the state of the output
|
13
|
-
# @return [
|
13
|
+
# @return [Boolean] The state of the output
|
14
14
|
def get
|
15
15
|
state
|
16
16
|
end
|
17
17
|
|
18
18
|
# Saves the state
|
19
|
-
# @param [
|
19
|
+
# @param [Boolean] s The next desired state of the output
|
20
20
|
def set(s)
|
21
21
|
@next_state = s
|
22
22
|
end
|
data/lib/circuits/version.rb
CHANGED