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. :) ///ark
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users