mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 22:41:30 +00:00
8 lines
103 B
Ruby
8 lines
103 B
Ruby
require 'ostruct'
|
|
|
|
class Item < OpenStruct
|
|
def to_s
|
|
[name, sell_in, quality].join ', '
|
|
end
|
|
end
|