Re: class variable weirdness

If you just want to get to a class method from the instance, you can do
a.class.foo=10

Gennady.

On 1/25/06, Gennady B. [email protected] wrote:

If you just want to get to a class method from the instance, you can do
a.class.foo=10

Gennady.

This is exactly what I was looking for, and
the cool part is that the syntax actually makes sense.
Very apprecaited.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs