getwd

Dir.getwd â string
Class Public methods

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

1
2
Dir.chdir("/tmp")   #=> 0
Dir.getwd           #=> "/tmp"
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.