From: Morton Goldberg Date: 2006-09-20T21:07:49+09:00 Subject: Re: Something strange in ruby or I'm a newbie? On Sep 20, 2006, at 7:43 AM, Jan Svitok wrote: >> it will work. By leaving out the space, you have invoked the unary >> '+' operator. But, of course, you wanted the binary '+' operator. In >> Ruby there are times when spaces and parentheses are critical. > > In other words, > > super +"whatever" is the same as super(+"whatever") while > super+"whatever" or super + "whatever" is the same as super(*args) > + "whatever". > > right? That's the way I see it. In Ruby I think its best to consider 'super' as a pseudo-method call and not as a pseudo-variable as it is most other OO languages. Regards, Morton