bool 1.0.15-java → 1.0.16-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5342f4b1b2dc7581b554c8d34f81d1b6a1983ce2
4
- data.tar.gz: 6d382073a0589287a004c01a168758d091376511
3
+ metadata.gz: 10f7634c31979cc8dc0fefc5e2a948be4c62ca06
4
+ data.tar.gz: 5676b8ab7ee4e7664e147c998209f91f1af026b7
5
5
  SHA512:
6
- metadata.gz: 4c3184884662028e84bed61bf4f46070b8b6165fdbb90f3f37d93416bef0766c90ede6e3000f242ea54d766db8a8912621e9abb8afc7211f1fc4b0d0660483e5
7
- data.tar.gz: c784bb5129c6c4143574cfeee2fa1bc56dbb47846225f1f180e3864873e84b83e39fe0130c3cabc6e2c5c5b3bf948911d5970ddb48120fa8454219857261a03b
6
+ metadata.gz: 77a82d2ef78d4b974f26c9c23859d9e2ca8ecfebd09f0b1221bbaaa486563ca54f6a4076150e2f526fc758be5c47c494fc466dfbd00bf920f06e62cb64567d27
7
+ data.tar.gz: 404b33735fe56fbe794f977b1acaa4eafe56c2532ef1cd8ada220cd3569c31a8b5047edcf790720c6b75de91f7d31c192f1c7ee79511f2cb2d51e34e9eba1288
@@ -24,8 +24,6 @@ module Bool
24
24
  !evaluate(node.operand, vars)
25
25
  end
26
26
 
27
- private
28
-
29
27
  def evaluate(node, vars)
30
28
  node.accept(self, vars)
31
29
  end
@@ -8,24 +8,22 @@ module Bool
8
8
  end
9
9
 
10
10
  else
11
- def visit_var(node, vars)
11
+ def visit_var(node, _)
12
12
  node.token.value
13
13
  end
14
14
 
15
- def visit_and(node, vars)
15
+ def visit_and(node, _)
16
16
  "(#{render(node.left)} #{node.token.value} #{render(node.right)})"
17
17
  end
18
18
 
19
- def visit_or(node, vars)
19
+ def visit_or(node, _)
20
20
  "(#{render(node.left)} #{node.token.value} #{render(node.right)})"
21
21
  end
22
22
 
23
- def visit_not(node, vars)
23
+ def visit_not(node, _)
24
24
  "#{node.token.value}#{render(node.operand)}"
25
25
  end
26
26
 
27
- private
28
-
29
27
  def render(node)
30
28
  node.accept(self, nil)
31
29
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: java
6
6
  authors:
7
7
  - Aslak Hellesøy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-13 00:00:00.000000000 Z
11
+ date: 2013-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake