From: Gennady Date: 2004-08-04T07:25:20+09:00 Subject: Re: [BUG?] Object property Fitzgerald,Greg wrote: > Is this a bug? No, it is not (see bellow). > > def myProp= (var) > @var = var > end > > def myProp > @var > end > > myProp = "local" This will always be interpreted as the variable assignment to avoid inconsistency. Just imagine the case when you have such a statement where you do mean assignment to a local variable 'myProp' (storing intermediate results of some computation) and later on you add a method myProp=(value). Gennady.