We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a17cfe4 + 079acca commit 89a83a0Copy full SHA for 89a83a0
1 file changed
lib/fileutils.rb
@@ -114,12 +114,14 @@ def pwd
114
#
115
# Changes the current directory to the directory +dir+.
116
117
- # If this method is called with block, resumes to the old
118
- # working directory after the block execution finished.
+ # If this method is called with block, resumes to the previous
+ # working directory after the block execution has finished.
119
120
- # FileUtils.cd('/', :verbose => true) # chdir and report it
+ # FileUtils.cd('/') # change directory
121
122
- # FileUtils.cd('/') do # chdir
+ # FileUtils.cd('/', :verbose => true) # change directory and report it
123
+ #
124
+ # FileUtils.cd('/') do # change directory
125
# # ... # do something
126
# end # return to original directory
127
0 commit comments