design-patterns/structural/decorator/concrete_component.py
2020-09-29 22:05:56 +02:00

11 lines
306 B
Python

from structural.composite.component import Component
class ConcreteComponent(Component):
"""
Concrete Components provide default implementations of the operations. There
might be several variations of these classes.
"""
def operation(self) -> str:
return "ConcreteComponent"