mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
15 lines
273 B
Ada
15 lines
273 B
Ada
with Ada.Strings.Unbounded;
|
|
|
|
package Items is
|
|
package SU renames Ada.Strings.Unbounded;
|
|
|
|
type Item is record
|
|
Name : SU.Unbounded_String;
|
|
Sell_In : Integer;
|
|
Quality : Integer;
|
|
end record;
|
|
|
|
function To_String(Self : in Item) return String;
|
|
|
|
end Items;
|