academic_benchmarks 1.0.1 → 1.1.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ada3dd4d669be238bc3a9d5d0c1ec3544c3ffbf481099a190a2f1fe1ae689ad
|
4
|
+
data.tar.gz: 51650541d8ae88ab6cec2e222a36c1ecc615d06161e8de87e10daf0bf7040c67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64072e43bdadef2ad5c6d3963bccd41192af18e433669da8b9fecd2c198b4d15227b5dfbb3005f0ff1d630f53814bd8bd5ae5e326e48fcb1aaba8566dfb382d9
|
7
|
+
data.tar.gz: 8b2c89bc3589ae7867fe093d0be2c0dbd1008089de18ab541852bee7f09ef3f278c7fc6d7d9f1045339ed649d1d49b29c7c780e2e024db8a4af59aadbf11fd37
|
@@ -5,18 +5,16 @@ module AcademicBenchmarks
|
|
5
5
|
class Number
|
6
6
|
include InstVarsToHash
|
7
7
|
|
8
|
-
attr_accessor :
|
8
|
+
attr_accessor :prefix_enhanced
|
9
9
|
|
10
10
|
def self.from_hash(hash)
|
11
11
|
self.new(
|
12
|
-
|
13
|
-
raw: hash["raw"]
|
12
|
+
prefix_enhanced: hash["prefix_enhanced"]
|
14
13
|
)
|
15
14
|
end
|
16
15
|
|
17
|
-
def initialize(
|
18
|
-
@
|
19
|
-
@raw = raw
|
16
|
+
def initialize(prefix_enhanced:)
|
17
|
+
@prefix_enhanced = prefix_enhanced
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|