mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-22 18:01:07 +00:00
13 lines
230 B
Python
13 lines
230 B
Python
class StringWrapper:
|
|
def __init__(self):
|
|
self.string = ""
|
|
|
|
def append(self, text):
|
|
self.string += text
|
|
|
|
def __str__(self):
|
|
return self.string
|
|
|
|
def __repr__(self):
|
|
return self.string
|