From: Tim Bates Date: 2002-12-08T06:09:22+09:00 Subject: Re: Newbie tutorial - if statements On Sun, 8 Dec 2002 06:46 am, Alan Chen wrote: > I can't recall the last time I saw a "then" in any working ruby code - so > I'd leave it out. I use it when I want to put an entire if - then - else statement on one line; you need it to separate the condition from the first code block. It's easier to read in mancy cases than using the ternary operator, which I also sometimes use in those situations - it depends on what I'm doing, why I'm doing it and how much sleep I need. Tim Bates -- tim@bates.id.au