From: Jim Freeze Date: 2001-12-01T04:41:43+09:00 Subject: [ruby-talk:27116] Looking for x-platform path builder 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 =========================================================