From: Chris Worrall Date: 2007-09-11T07:43:52+09:00 Subject: Re: ++ Help I mostly only use "then" when it's a one liner, and in that case, you can replace it with a colon. if x.nil? : puts y end etc. On 9/10/07, Jeremy Woertink wrote: > > > d = 0 > > if (1..90).include? d then > > a = 1 > > b = 4 > > d += 1 > > end > > > Interesting, I didn't know ruby had a "then" keyword. I've only seen it > when I'm doing VB stuff. > > > ~Jeremy > -- > Posted via http://www.ruby-forum.com/. > >