Ruby Developer with more than 7 years of experience. I like TDD, Clean Code, Design Patterns and Domain-Driven Design. If you like reading books as I do: here is a list of my favorite books.
Decorator pattern and usage of SimpleDelegator
Recently I wrote about template pattern. Today I would like to talk about another useful pattern - decorator.
Read More »
Inheritance and template pattern - simple example
Today I would like to show by simple example how to use template pattern in Ruby.
I'm sure you will find many ways of using that pattern in your application.