Articles tagged with  experimental

Subclassing Module For Fun and Profit

August 13, 2012 by Piotr Solnica

You think you’ve done everything with Ruby? How about subclassing Module? It’s an interesting technique that I’ve been experimenting with lately. One of the downsides of using modules in Ruby is that a module doesn’t have a state. When you mix it into...