This post originated from an RSS feed registered with Ruby Buzz
by Patrick Farley.
Original Post: Class Methods
Feed Title: Klank Boom Klang
Feed URL: http://klankboomklang.com/feed/
Feed Description: Ruby and otherwise by Patrick Farley
In my last post I wrote that providing a home for class methods was the raison d’être of the Metaclass. So why go through all the trouble? What are class methods good for? Four uses worth exploring are Object Creation, Annotations, DSL’s, and removal of structural duplication
This post is about Ruby class [...]