Ruby

Building a basic DSL to create callbacks in Ruby


Do you know what a Domain Specific Language(DSL) is and how to implement one in Ruby?. This article aims to provide a slight introduction to this topic. It is divided in 3 sections, first we'll define what a DSL is, second we'll...