News for hackers. Stuff that matters.
Re:My Objection to Array#sum by tjstankus on Thursday April 09, 2009 @05:27PM (#555199)
I would tend toward that idea: a module that can be included. Injecting a sum method into the object's ghost class also maintains scope of responsibility, but feels a bit more magic. I'd opt for less magic. At first, anyway. :)

There are no comments on this comment yet.