This commit is contained in:
Charles Ferguson 2017-12-12 20:21:57 +00:00 committed by GitHub
commit 8afe4241d0

View File

@ -4,6 +4,7 @@ class GildedRose
@items = items
end
# Good God
def update_quality()
@items.each do |item|
if item.name != "Aged Brie" and item.name != "Backstage passes to a TAFKAL80ETC concert"
@ -65,4 +66,4 @@ class Item
def to_s()
"#{@name}, #{@sell_in}, #{@quality}"
end
end
end