Instantly share code, notes, and snippets.

Embed
What would you like to do?
Design Pattern: Decorator and Waffle
class BananaWaffle < WaffleDecorator
def topping
'banana'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment