[rspec-users] class << self considered harmful... really?
mailing_lists at railsnewbie.com
Tue Nov 25 13:39:57 EST 2008
On Nov 25, 2008, at 1:27 PM, Wes Gamble wrote:
> Scott Taylor wrote
>>> I'd be interested, however, in hearing about the benefits of
>>> opening the eigenclass to define class methods (apart from ease in
>>> searching, which may be best handled with ctags).
>> Grouping and private methods.
> Potentially dumb question:
> As far as private class methods, could you do
> def self.blah
> to get private class methods, or does private not work on class
> methods in this way?
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users