Ruby Metaprogramming: Declaratively Adding Methods to a Class - Vita Rara: A Life Uncommon

A murb'ed feed, posted more than 12 years ago filed in tutorial, programming, ruby, rails, dynamic & method.

Most of the work I do in ruby on rails is quite simple (with ruby on rails), but sometimes you need just a little more power, and metaprogramming in ruby helps you to add this power (even when there is no gem available).

Go to the original link.