From: Pierre Baillet Date: 2002-12-01T23:14:09+09:00 Subject: Re: [FAQ] What do some of Ruby's symbols mean? Hello, On Sun, Dec 01, 2002, Gavin Sinclair wrote: > > ?: > Ternary decision operator, as in C. For example: > iq = (position == MANAGER) ? LOW : HIGH > being a manager (as a part time job ;)), i'd rather see a more explicit example for this ternary operator such as temperature = ( weather == SNOW) ? LOW : HIGH I'm not sure someone will not try to guess the behaviour of the ternary operator from your example, but i might be wrong... Cheers, -- Pierre Baillet It is bad when one thing becomes two. One should not look for anything else in the Way of the Samurai. It is the same for anything that is called a Way. If one understands things in this manner, he should be able to hear about all ways and be more and more in accord with his own. Ghost Dog - The Way of the Samoura�