current_predictor 0.0.2 → 0.0.3
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/current_predictor.rb +2 -3
- 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: fec3febeb0243033465b4f5dcccf7cecffffb193
|
|
4
|
+
data.tar.gz: 19d94b9e639ea1dc5b8183c7b26302e3c63d5a05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91ff3fb2b4c471c4969d9f5a0aa9f7570f43f40f057be8eb5dd72507c3caaa6249f5a10f799013f4021f9b672fd3a4d8be90da42ba4e21e053e78a0ff18d578c
|
|
7
|
+
data.tar.gz: 0f2c385b52a4ed18d82d5aef2bb8b8818f851c030c2dc4f0e4742c31aa37ef35fa32f4c5bd534ffa055e9bd4a27b7c9bc24a9b7f8f1b18885193b75ba83d45e1
|
data/lib/current_predictor.rb
CHANGED
|
@@ -9,9 +9,9 @@ module CurrentPredictor
|
|
|
9
9
|
return a,b
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
def self.monthlyconsumption(matter,cost
|
|
12
|
+
def self.monthlyconsumption(matter,room,cost)
|
|
13
13
|
consumption = matter
|
|
14
|
-
|
|
14
|
+
cost = cost
|
|
15
15
|
puts "Enter the number of rooms : "
|
|
16
16
|
a = room
|
|
17
17
|
b = (consumption*a)/12
|
|
@@ -57,7 +57,6 @@ module CurrentPredictor
|
|
|
57
57
|
return value
|
|
58
58
|
end
|
|
59
59
|
end
|
|
60
|
-
|
|
61
60
|
end
|
|
62
61
|
|
|
63
62
|
|