diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-27 10:12:08 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-27 10:12:08 +0000 |
| commit | d5a180cc801e4c4592c58a6d60c5d287c0622db0 (patch) | |
| tree | 518afb42c393a52f45265b52825a8569a6c5e895 /lib/fileutils.rb | |
| parent | bf5a3640bbc1b779357f4a598b50e226cafe8f40 (diff) | |
| download | ruby-d5a180cc801e4c4592c58a6d60c5d287c0622db0.tar.gz ruby-d5a180cc801e4c4592c58a6d60c5d287c0622db0.tar.xz ruby-d5a180cc801e4c4592c58a6d60c5d287c0622db0.zip | |
* lib/fileutils.rb (cd): follow :noop option change. (This patch is contributed by Doug Kearns)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/fileutils.rb')
| -rw-r--r-- | lib/fileutils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 8bfb90f00..be74ad30b 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -113,7 +113,7 @@ module FileUtils def cd(dir, options = {}, &block) # :yield: dir fu_check_options options, :verbose fu_output_message "cd #{dir}" if options[:verbose] - Dir.chdir(dir, &block) unless options[:noop] + Dir.chdir(dir, &block) fu_output_message 'cd -' if options[:verbose] and block end |
