mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 06:21:29 +00:00
Merge 10e04e6d85 into 6f972d0c5f
This commit is contained in:
commit
8afe4241d0
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user