diff --git a/rwx/os/abstract.py b/rwx/os/abstract.py index 2d86f7e..e985dc5 100644 --- a/rwx/os/abstract.py +++ b/rwx/os/abstract.py @@ -15,3 +15,10 @@ class OS(ABC): @abstractmethod def get_name(self) -> str: """Return mandatory name.""" + + def __str__(self) -> str: + """Return root & name.""" + return f"""\ +root = {self.root} +name = {self.name} +"""