Add more documentation and fix rubocop warnings

This commit is contained in:
Gary Tierney
2016-01-29 22:42:03 +00:00
parent a7b4036deb
commit 8e0b84a470
17 changed files with 77 additions and 80 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ def create_ammo(item_matcher, properties, &block)
items.each do |item_id|
AMMO[item_id] = Ammo.new(item_id, properties)
AMMO[item_id].instance_eval &block if block_given?
AMMO[item_id].instance_eval(&block) if block_given?
end
end