Utility for converting between win32 and cygwin paths. Does nothing on *nix.
# File lib/rscm/tempdir.rb, line 9 def new_temp_dir(suffix="", basedir=File.dirname(__FILE__) + "/../../target") identifier = identifier.to_s identifier.gsub!(/\(|:|\)/, '_') dir = "#{basedir}/temp_#{identifier}_#{Time.new.to_i}#{suffix}" FileUtils.mkdir_p(dir) dir end
Generated with the Darkfish Rdoc Generator 2.