From: Brian Candler Date: 2010-10-21T04:06:25+09:00 Subject: Re: Long conditional statements Courtland Allen wrote in post #955781: > Some parts of my code call for really long conditional statements of the > form: > > if a or b or c or d or e or f > > doSomething() > > end > > > Is there a more aesthetically-pleasing way to accomplish this? You can split them after the operator and continue them on the next line, without needing any explicit continuation character. if a or b or c or d or e or f doSomething end -- Posted via http://www.ruby-forum.com/.