bendy 0.2.1 → 0.2.2
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 +4 -4
- data/lib/bendy/logical.rb +1 -1
- data/lib/bendy/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: 4356802a28c6c5c7fecb0196c9ab9df22cc21aba
|
|
4
|
+
data.tar.gz: 8f101ff996b8de7bcee10a54988e3c4bc0b1bf68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd6a3800b271f272f48037a2d297592297c7d2e300280973e1318148ee3226f35932e2762b1940cab54a0c825b6f3794508100de2bcd5ec458f178e5579854df
|
|
7
|
+
data.tar.gz: 15bc96aee9ee8213a02b0768d7b36cd3283e768bec794f3dc0c3f8433e215dccf158797fa6f04e9f488c60c5161e018c1d390ea4c3d12a73f06e1104620aa4fd
|
data/lib/bendy/logical.rb
CHANGED
|
@@ -9,7 +9,7 @@ module Bendy
|
|
|
9
9
|
# Material implication
|
|
10
10
|
# `implies` is the common case where if the first thing is true, then pay
|
|
11
11
|
# attention to the second thing. But if the first thing is false then the
|
|
12
|
-
# whole thing is true: `implies(foo
|
|
12
|
+
# whole thing is true: `implies(foo){foo[:bar]}`
|
|
13
13
|
|
|
14
14
|
def implies(p)
|
|
15
15
|
!!p ? yield : true
|
data/lib/bendy/version.rb
CHANGED