阅读背景:

如何从irb获取当前工作目录的绝对路径

来源:互联网 

I'm running Ruby on Windows though I don't know if that should make a difference. All I want to do is get the current working directory's absolute path. Is this possible from irb? Apparently from a script it's possible using I'm running Ruby on Windows though I don't know




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: