From: Florian Frank Date: 2007-04-13T16:46:45+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) http://rubylution.ping.de/articles/2007/03/01/the-opposite-of-blank-in-rails -- Florian Frank