lib/bridge/constants.rb in bridge-0.1.1 vs lib/bridge/constants.rb in bridge-0.1.2
- old
+ new
@@ -51,34 +51,34 @@
VULNERABILITIES = ["NONE", SIDES, "BOTH"].flatten
module Points
IMPS =
{
- 0...10 => 0,
- 20...40 => 1,
- 50...80 => 2,
- 90...120 => 3,
- 130...160 => 4,
- 170...210 => 5,
- 220...260 => 6,
- 270...310 => 7,
- 320...360 => 8,
- 370...420 => 9,
- 430...490 => 10,
- 500...590 => 11,
- 600...740 => 12,
- 750...890 => 13,
- 900...1090 => 14,
- 1100...1290 => 15,
- 1300...1490 => 16,
- 1500...1740 => 17,
- 1750...1990 => 18,
- 2000...2240 => 19,
- 2250...2490 => 20,
- 2500...2990 => 21,
- 3000...3490 => 22,
- 3500...3990 => 23,
- 4000...7600 => 24
+ 0..10 => 0,
+ 20..40 => 1,
+ 50..80 => 2,
+ 90..120 => 3,
+ 130..160 => 4,
+ 170..210 => 5,
+ 220..260 => 6,
+ 270..310 => 7,
+ 320..360 => 8,
+ 370..420 => 9,
+ 430..490 => 10,
+ 500..590 => 11,
+ 600..740 => 12,
+ 750..890 => 13,
+ 900..1090 => 14,
+ 1100..1290 => 15,
+ 1300..1490 => 16,
+ 1500..1740 => 17,
+ 1750..1990 => 18,
+ 2000..2240 => 19,
+ 2250..2490 => 20,
+ 2500..2990 => 21,
+ 3000..3490 => 22,
+ 3500..3990 => 23,
+ 4000..7600 => 24
}
class Chicago
# values in array: [not-vulnerable, vulnerable]
POINTS =
{