[rspec-users] class << self considered harmful... really?

Matt Wynne matt at mattwynne.net
Wed Dec 3 06:21:42 EST 2008

On 2 Dec 2008, at 22:31, Mark Wilden wrote:

> Here's what The Ruby Programming Language says about this:
> "In general, it is clearer to define class methods as individual  
> singleton methods without explicitly opening the eigenclass" (p. 258)
> This is far from a blanket condemnation, and, as with the rest of  
> the book, it's not obvious whether it's Matz or (non-Rubyist)  
> Flanagan who's talking.
> I don't mean to "open" the discussion again. :)

Thanks for following up Mark.

I suggest that if there's any life left in this thread, it staggers  
over here for a few more rounds:

Matt Wynne

More information about the rspec-users mailing list