From: Jim Weirich Date: 2002-12-02T13:29:39+09:00 Subject: Re: [FAQ] [Revised] What do some of Ruby's symbols mean? On Sun, 2002-12-01 at 10:01, Gavin Sinclair wrote: > Thanks for the instant feedback. And apologies for the offensive late-night > manager humour. If only I'd limited it to my workplace... . [...] > > ?: > Ternary decision operator, as in C. For example: > return (level == DEBUG) ? "" : detailed_info This still seems confusing, as I would expect detailed information to be returned in debug mode. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)