From: Raphael Bauduin Date: 2006-05-11T00:52:52+09:00 Subject: class << my_instance and class variables Hi, When running this code, class A def initialize(i) @value = i end end a = A.new(3) class << a @@v = 5 def test @value>@@v end end a.test I get a warning: "class variable access from toplevel singleton method" From my understanding, the test method is added to the class specific to object a, and other instances of A don't have access to that method. The class variable @@v is also added to the same object specific class. But then, what exactly does this warning mean, and how bad is it? Thanks Raph