Hi

Is there a standardized way to build file pathnames
that uses the dir seperator that is OS specific?

path = "/somepath"
Dir.open(path).each { |f|
  p path_build(path, f) #=> yields /somepath/somefile on unix
  p path_build(path, f) #=> yields /somepath\somefile on dos

Thanks

=========================================================
Jim Freeze
jim / freeze.org
---------------------------------------------------------
Today is a fine day for Ruby programming.
http://www.freeze.org
=========================================================