From: Zach Dennis Date: 2005-05-07T09:34:36+09:00 Subject: Re: new to ruby - please help w/ code structure? Corey wrote: > I'd like to make the following code more terse... i.e. more expressive w/ less > lines: > > if free || os > if line =~ new_re > cvs(host) > host, free, os = nil > next > end > end I dont know what you're doing, but to take exactly what you typed: if free||os and line=~new_re cvs host ; host,free,os=nil ; end OR (cvs host ; host,free,os=nil ; next) if free||os and line=~re Zach