There was an error while loading. Please reload this page.
1 parent 782a903 commit c853d16Copy full SHA for c853d16
DecoratorPattern/MochaCondiment.cs
@@ -12,7 +12,8 @@ public MochaCondiment(Beverage beverage)
12
public override string Description {
13
get
14
{
15
- if (_beverage.Description.StartsWith("Mocha")){
+ if (_beverage.Description.StartsWith("Mocha"))
16
+ {
17
return "Double " + _beverage.Description;
18
}
19
else
0 commit comments