From: Robert Feldt Date: 2001-10-27T07:31:43+09:00 Subject: [ruby-talk:23558] Re: Fast reply needed: class var trouble On Sat, 27 Oct 2001, Rich Kilmer wrote: > to remove the ambiguity of Ruby trying to figure out whether I am > trying to define a local var or invoke a method. > Yes, of course. So classic! Ok, I'm off to bed... The Real PoRLS (Principle of Roberts Least Surpris) here would be for Ruby to conclude that it cant be a local since it would be useless to declare a local when value never used. Something for rite matz? ;-) Thanks, /Robert