Do you know how to write an internal DSL in Ruby?

Almost all Ruby programming newbies would love to get their hands wet writing a Ruby DSL. This article explains how you can write a simple Ruby DSL. Introduction A Domain-Specific Language (DSL) is a (usually small) programming or description language designed for a fairly narrow purpose. DSLs are targeted at end users or domain specialists who are not expert programmers. Martin Fowler classifies DSLs into two styles – external and internal.

Don't Know Metaprogramming In Ruby?

This guest post is by Gavin Morrice, Managing Director of Katana Code Ltd., a software boutique based in Edinburgh, Scotland. He likes sharing Rails tips