Feb
24
2009
Ruby’s Eigenclass and Metaclass
If you are like me, you have probably dabbled in Ruby programming, but never really found a place to use it, so never got very far. While we all love _why’s unique writing, his article on meta-programming was a bit opaque, and less than enlightening (let’s be honest — sometimes we just need a dry, straightforward technical reference).
Enter these two gems. ‘The Singleton Class’ and ‘The Metaclass’, written by Patrick Farley. Genius stuff.