You may have seen "Simon Says" puzzles before: take a phrase, perform a bunch of transformations on that phrase, end up with another phrase. Something like this:
I decided to whip up a set of instructions to perform these transformations with Ruby. I considered creating a domain-specific language, but I basically just ended up writing domain-specific Ruby, which works, too.