bools 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -12
- data/bools.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21404a36bf997a6e2d4beb40097d9524437144002ddeb48518ce6ae3a19ab24b
|
4
|
+
data.tar.gz: 5e1a3a51309ced9c2409756cc1431eb47f7070feada570cb7c7664a4f33a21b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49a7863e6a368e7fd943eecf95ce3d921dae5557ee271a237cc977b59a50f307a4c6a5d3e6df0af39c7e2bb291260cd1f976a840d70792179fb56746375a724c
|
7
|
+
data.tar.gz: 80f8636a6fe334747f38ebba686d61906ff0f3aca915473995023652d2357056fd09e501cf06da8f9af3b3b1ddb6fe1f7cee10271b4191098df1e132551e6907
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ This small file:
|
|
17
17
|
```ruby
|
18
18
|
require 'bools'
|
19
19
|
|
20
|
-
def test(a, b, c
|
20
|
+
def test(a, b, c)
|
21
21
|
a == c
|
22
22
|
end
|
23
23
|
```
|
@@ -25,19 +25,19 @@ end
|
|
25
25
|
Produces the following:
|
26
26
|
|
27
27
|
```
|
28
|
-
a b c
|
29
|
-
|
30
|
-
0 0 0
|
31
|
-
0 0
|
32
|
-
0
|
33
|
-
0
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
28
|
+
a b c | result
|
29
|
+
------+-------
|
30
|
+
0 0 0 | 1
|
31
|
+
0 0 1 | 1
|
32
|
+
0 1 0 | 0
|
33
|
+
0 1 1 | 0
|
34
|
+
1 0 0 | 1
|
35
|
+
1 0 1 | 1
|
36
|
+
1 1 0 | 0
|
37
|
+
1 1 1 | 0
|
38
38
|
```
|
39
39
|
|
40
|
-
Notice that
|
40
|
+
Notice that 3 booleans are checked, since there are 3 input variables.
|
41
41
|
|
42
42
|
## Why?
|
43
43
|
|
data/bools.gemspec
CHANGED