From: Alexey Verkhovsky Date: 2004-07-25T19:57:46+09:00 Subject: [NUBY] Instance variable accessible from class method? Result of executing this code: class MyClass @instance_variable = "aaa" def MyClass::class_method puts @instance_variable end end MyClass.class_method is "aaa". I expected it to be "undefined variable". What is the meaning of instance variable being accessible from a class method? Which instance holds the value of that variable, if none has been explicitly created yet? Best regards, Alexey Verkhovsky