circuits 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDA3ZjgwZWU3MWRjMjU5NjE5ZjFkNGI5ZTUxOWY5NzNhYzgxOGZmNg==
4
+ NTg3NGUyOTA3YzMxOWY3ZjZjZDU4N2IwZmZmNjMyOTRhZTNkNjBmMA==
5
5
  data.tar.gz: !binary |-
6
- MmJjNDdlMmRmNDE0Y2RkZWJiOTBkMGMzYzAyODU0OTkwZjk2OWRlZA==
6
+ NGJlODgwMzE1Mzk0MjQ1NGI4ZWY0NWRlMjFkZmU4NjkyNmQ1NGY4Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWZjODc5OGQwYjFhNzgxNTM5OTY5OGFjMjMwNmExZTUzNGRiMjU2OGI2MmQ1
10
- MDY5NDI2NDM4NzYxMTU1ZjIxYzRmMTk4NDE4MWRhZjU5YjdjMzI4ODZhYmZl
11
- Njc5YjJmOThmZmFjNGQ3MDE1ZmMyNTM0M2I5YzViMDE2MDk4MzI=
9
+ MWJhOTVhY2IzNWZhNzM5YzNjZDlkYzUzMGZiNzg2OTdkOTZjNTg4ZmRjMjY2
10
+ MDg3YzRlMzFkODg3YWJiZjQzMzA0ODNkM2E5ODhmYmJjYTcyZjc1ZjczZDlh
11
+ MzgwZjc2YmRmODZjMjUwMGNkYTI0ZjgxYzFjNzAzOWYxNjhjMjk=
12
12
  data.tar.gz: !binary |-
13
- MzIwZmVkZmQ2YjhkYjIxMTM4MGEwZWE5ZGQ2OWYzZjhlMzFmMjBkMjgzM2Y3
14
- MGQyMDFjY2FkM2YxZjMzODMyYmZiYzQ4YTYyMWU1YzBkZjE1ZDYwMzNhMjdh
15
- ODU4M2JhNjZhNjFjOGY1NGI5ZDUzMzljMTE2MGMyMmZkMTlhNTY=
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 [TrueClass, FalseClass] The state of the output
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 [TrueClass, FalseClass] The state of the output to create
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 [TrueClass, FalseClass] The state of the output
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 [TrueClass, FalseClass] The next desired state of the output
19
+ # @param [Boolean] s The next desired state of the output
20
20
  def set(s)
21
21
  @next_state = s
22
22
  end
@@ -1,5 +1,5 @@
1
1
  # Circuits allows you to express logical circuits in code
2
2
  module Circuits
3
3
  # The version of the Circuits gem
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Muru Paenga