File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,14 @@ def pwd
114114 #
115115 # Changes the current directory to the directory +dir+.
116116 #
117- # If this method is called with block, resumes to the old
118- # working directory after the block execution finished.
117+ # If this method is called with block, resumes to the previous
118+ # working directory after the block execution has finished.
119119 #
120- # FileUtils.cd('/', :verbose => true ) # chdir and report it
120+ # FileUtils.cd('/') # change directory
121121 #
122- # FileUtils.cd('/') do # chdir
122+ # FileUtils.cd('/', :verbose => true) # change directory and report it
123+ #
124+ # FileUtils.cd('/') do # change directory
123125 # # ... # do something
124126 # end # return to original directory
125127 #
You can’t perform that action at this time.
0 commit comments