From: Robert Dober Date: 2006-09-21T00:14:07+09:00 Subject: Re: Something strange in ruby or I'm a newbie? ------=_Part_173954_29299437.1158765243125 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/20/06, Morton Goldberg wrote: > > On Sep 20, 2006, at 7:43 AM, Robert Dober 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. > >> > >> Regards, Morton > > > > > > No he found something really strange > > look at this > > > > puts "a" +"b" > > > > Do you get his point? > > No. The two cases aren't comparable. "a" is an object; 'super' is a > pseudo-method. > > Regards, Morton It was me who got confused, thx I got the point. Cheers Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_173954_29299437.1158765243125--