lib/mwo/weapon.rb in mwo-0.0.3 vs lib/mwo/weapon.rb in mwo-0.1.0
- old
+ new
@@ -29,10 +29,9 @@
weapons = []
raw.each do |weapon_id, attrs|
if attrs["category"] == "weapon"
-
weapon = {weapon_id: weapon_id.to_i,
name: attrs["name"],
category: attrs["category"]
}