ts wrote:
>>>>>>"L" == Lionel Thiry <lthiryidontwantspam / skynetnospam.be> writes:
> 
> L> class MyClass
> L> 	@a = "value"
> 
> L> 	class_attr_reader :a
> 
>         class << self
>            attr_reader :a
>         end
> 
> L> end
> L> puts Test.a # it doesn't work
Oh my! Completly forgotten that way of writing things. Thnaks for the tip.

> 
> L> I know class variables are already accessible through @@a.
> 
>  No, don't make confusion between class instance variable (i.e. @a in your
>  example) and class variables (i.e. @@a)
> 
Really?
*making some test*
You're right, indeed. Sorry for the confusion.

Regards,
Lionel Thiry