logicality 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/logicality/logic.rb +1 -1
- data/lib/logicality/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: b5282ea533559487b86015f10aa3de6f70c9ab41
|
4
|
+
data.tar.gz: 0f23712f87447a72b931b4fc27932ace714119fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b6053e5cf3289896c6499834fa8f92b36e3bcf4eef392a25a5f2cd8f0ea810a87b9b6dd9445975bd59b8b2b2f740e37c913b603458b4c23ebf1c4e337a01c48
|
7
|
+
data.tar.gz: 2875bf7d5fb6d8bdfebc0806abe7b73f2ddf0042ebba0a890daefaf27298ab281c0d8b3f0fdf4f5f3653cb7ea097cecaf5ea39dd0e66fb0abcf2eed1a8c02742
|
data/Gemfile.lock
CHANGED
data/lib/logicality/logic.rb
CHANGED
@@ -9,7 +9,7 @@ module Logicality
|
|
9
9
|
class Logic
|
10
10
|
class << self
|
11
11
|
|
12
|
-
def evaluate(expression, input, resolver = nil)
|
12
|
+
def evaluate(expression, input = nil, resolver = nil)
|
13
13
|
node = get(expression)
|
14
14
|
wrapper = resolver_wrapper(input, resolver)
|
15
15
|
interpreter = Interpreter::SimpleInterpreter.new(wrapper)
|
data/lib/logicality/version.rb
CHANGED