Design pattern in ruby notes
By Jiazhen Xie | 26 November 2014
Tags: ruby, design, patterns, programming
Template Method pattern Template Method pattern is to build an abstract base class with a skeletal method. Non-abstract methods that can be overridden in the concrete classes of the Template Method pattern are called hook methods. The "I am what I am" approach to typing has been called duck typing
← Back to Home