From: Joel VanderWerf Date: 2007-04-13T15:44:51+09:00 Subject: Re: Idiom wanted (now hiring!) Jonathan wrote: > Is there a cool way to do this without calling the function twice?: > > a = func(b) unless func(b).nil? (AKA) > a = func(b) if func(b) a = func(b) || a -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407