slash and backslash in Ruby

后端 未结 5 748
北荒
北荒 2021-01-04 01:16

I want to write a application that works in windows and linux. but I have a path problem because windows use \"\\\" and Linux use \"/\" .how can I solve this problem. thanks

5条回答
提交回复
热议问题