From: Jim Freeze Date: 2003-04-09T09:17:27+09:00 Subject: Re: The "!" and "?" characters. On Wednesday, 9 April 2003 at 8:05:20 +0900, Mauricio Fern�ndez wrote: > On Wed, Apr 09, 2003 at 07:18:39AM +0900, Daniel Carrera wrote: > > You could always compromise and ust def _! > > # This one works: > > >> class Fixnum > > >> def f # Factorial > > >> self < 0 and return -1 # Error code. > > >> self ==0 and return 1 > > >> self * (self-1).f > > >> end > > >> end > > >> 5.f > > => 120 >> 5._! => 120 -- Jim Freeze ---------- Fuch's Warning: If you actually look like your passport photo, you aren't well enough to travel.