On Tue, Jan 11, 2011 at 2:49 PM, David J. Hamilton <groups / hjdivad.com> wro=
te:
> ...wanted to avoid having to write the transformation twice. =A0See his p=
revious
> example earlier in this thread where he uses find to get the value, and t=
hen 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)=
}
  #=3D> "/opt/jruby"

thanks and best regards -botp