There’s always File.join, which puts in the appropriate slashes where necessary. Otherwise, gsub:
path_string.gsub(/\/, “/”)
Jason
There’s always File.join, which puts in the appropriate slashes where necessary. Otherwise, gsub:
path_string.gsub(/\/, “/”)
Jason