mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-04 09:11:39 +00:00
Print for data class
This commit is contained in:
parent
85de84bb8b
commit
071bd8fb99
@ -29,7 +29,7 @@ fun main(args: Array<String>) {
|
||||
println("-------- day $i --------")
|
||||
println("name, sellIn, quality")
|
||||
for (item in items) {
|
||||
println(item)
|
||||
println("${item.name}, ${item.sellIn}, ${item.quality}")
|
||||
}
|
||||
println()
|
||||
app.updateQuality()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user