[rspec-users] Spork

steve ross
Tue, 30 Mar 2010 02:50:27 -0000

On Mar 29, 2010, at 1:04 PM, David Chelimsky wrote:
> On Mar 29, 2010, at 2:48 PM, Ashley Moran wrote:
>
>> (2.5) Any reason why the new RSpec module is "Rspec" not
"RSpec"? </grammarnazi>
>
> AFAIK, autoloaders (like in Rails and Autotest), assume a CamelCase
convention for class names, which RSpec violates, and Rspec adheres to. If
I''m wrong about this, I''d prefer to make it RSpec, since
that''s the name of the book and all :) Anybody have insights/opinions
on this?
>

Isn''t CamelCase

([A-Z][a-zA-Z]*)+

If that''s the case, RSpec is fine. If not, then classes like CGI are
also hosed.

My $.02