On Tue, Jan 11, 2011 at 2:49 PM, David J. Hamilton <groups / hjdivad.com> wrote: > ...wanted to avoid having to write the transformation twice. ¨Âåå èéðòåöéïõó > example earlier in this thread where he uses find to get the value, and then has > to transform (again) the result. ah, ok (slaps my dummy head after whole thread :-) in that case, i'd still prefer something like paths.map{|path| File.join(path,filename)}.find{|path| File.exists?(path)} #=> "/opt/jruby" thanks and best regards -botp