bitwiseCalc 1.4.0 → 1.4.1
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/bitwiseCalc +2 -2
- 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: dee970ff099a6aa553175df2eea10c624afa0566
|
4
|
+
data.tar.gz: 098fea41ec27c72564e9e36edae81d33937fd9a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bcce0f3802e0ef4c43da6705e4bdcb5ff874f46de5e0136812f7698f985054b9bd712c28e3f974ec116fee2e4a0ac58290efd37805ce94b8e67e6d9008fe50a
|
7
|
+
data.tar.gz: 23e50be39c8f468ad3f1178a002b3085fb7c3fb22f65133272cf8950836bc9b8478c9d50f17a88b452bb71176778d1ea30ee77bdf1c1f4bcd9fa75692f115b73
|
data/lib/bitwiseCalc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# @Email: vargash1@wit.edu
|
5
5
|
# @Date: 2015-02-23 10:23:20
|
6
6
|
# @Last Modified by: vargash1
|
7
|
-
# @Last Modified time: 2015-09-13
|
7
|
+
# @Last Modified time: 2015-09-13 19:36:40
|
8
8
|
require 'colorize'
|
9
9
|
class BoolCalc
|
10
10
|
def initialize()
|
@@ -116,7 +116,7 @@ class BoolCalc
|
|
116
116
|
if (@x == nil) ? @x = a.to_i(8): @y = a.to_i(8)
|
117
117
|
end
|
118
118
|
#decimal val was read
|
119
|
-
when (is_number(a
|
119
|
+
when (is_number(a))
|
120
120
|
if (@x == nil) ? @x = a.to_i: @y = a.to_i
|
121
121
|
end
|
122
122
|
end
|