This repository has been archived on 2022-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
patterns/templatemethod/barista/tea.d

18 lines
254 B
D
Raw Permalink Normal View History

2022-11-16 23:25:52 +00:00
module tea;
import std.stdio : writeln;
import caffeinebeverage;
class Tea : CaffeineBeverage
{
override void brew()
{
writeln("Steeping the tea");
}
override void addCondiments()
{
writeln("Adding Lemon");
}
}