From: Stefan Mueller Date: 2002-03-10T07:44:33+09:00 Subject: Funny Instance Variable? Hello while fumbling around with ruby, I stumbled onto the following code. I know, this does not look usefull at all, and it should have class vars, and not instance vars. I just wonder, what am I accessing there? Some sort of funny class variable, that no instance can access? --begin code class Foo def Foo.bar=(bar) @bar = bar end def Foo.bar @bar end end Foo.bar='whatami?' puts Foo.bar #=> "whatami?" --end code