Method: FileUtils.getwd
- Defined in:
- lib/fileutils.rb
.getwd ⇒ Object
Returns a string containing the path to the current directory:
FileUtils.pwd # => "/rdoc/fileutils"
Related: FileUtils.cd.
203 204 205 |
# File 'lib/fileutils.rb', line 203 def pwd Dir.pwd end |