From: dblack@... Date: 2005-12-07T14:37:04+09:00 Subject: Re: Mixins and variables Hi -- On Wed, 7 Dec 2005, Johannes Friestad wrote: > OK, thanks. Can I force "x=(whatever)" to mean a method call instead > of an assignment? > > I thought the parantheses were supposed to do that? You have to give the explicit receiver 'self'. The thing is, local variable assignments can have things with parens on the right, so that alone is not enough to exempt that expression from being interpreted as a l.v. assignment. David -- David A. Black dblack@wobblini.net "Ruby for Rails", forthcoming from Manning Publications, April 2006!