An adventure in Ruby metaprogramming! Follow along as we use strict TDD to create a toolkit for generating Null Object classes in Ruby.
* This is the original source of the Naught gem--the first release was written in a * Literate Programming style, and this book is the result. * Learn numerous metaprogramming tricks, techniques, and gotchas. * Watch a library being built in a pure test-driven style. * Whimsical illustrations by Lauren Shepard! * Kindle, Epub, and HTML versions included (PDF coming soon!) * About the beta: this book is basically done, but I'm still tweaking the output formats.
As usual, Avdi brings a real mastery to the craft of professional Ruby development. Here he focuses on the null builder pattern as a mechanism for using metaprogramming. While not a book on metaprogramming explicitly, it does treat many of the facets of mp in the context of a deployable library.
Overall I commend his work as an example of good software and mature ruby development.