Ruby class methods — several ways to define them, and how to abstract them into a module/mixin
I learned/confirmed two things about Ruby class methods recently: several equivalent ways to define them, and how to abstract them into a module/mixin.
I learned/confirmed two things about Ruby class methods recently: several equivalent ways to define them, and how to abstract them into a module/mixin.
Thank you very much. That really helped me solve a rather frustrating problem.
Posted by Mjolnir on 19 June 2008 @ 6pm
I believe your second link is broken. It points to: “http://pastie.caboo.se/61070″, shouldn’t it be: “http://pastie.textmate.org/61070″?
Posted by Florin Oltean on 11 March 2011 @ 1am
© JJB Blog. Powered by WordPress using the DePo Skinny Theme.
2 Comments