On Thursday, April 16, 2009, Mark Wilden <[email protected]> wrote:
> On Thu, Apr 16, 2009 at 7:33 AM, Pat Maddox <[email protected]> wrote:
>
>> You're setting an instance variable on a class, which is a global
>> variable
>
> I wouldn't call a class instance variable global. It's accessible to
> only one object, after all.

Neither would I :)  A class, being referenced by a constant, is a
global variable.

Pat
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to