getwd

Dir.getwd รข string
Class Public methods

Returns the path to the current working directory of this process as a string.

Dir.chdir("/tmp")   #=> 0
Dir.getwd           #=> "/tmp"
doc_ruby_on_rails
2015-04-03 11:27:05
Comments
Leave a Comment

Please login to continue.