From: Jonathan Date: 2007-04-13T15:02:18+09:00 Subject: Idiom wanted (now hiring!) 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) -- Posted via http://www.ruby-forum.com/.