summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-23 23:56:42 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-23 23:56:42 +0000
commit02328d4cc292bb143e4173bc8de855e52cdb004f (patch)
tree3266a3f31639dc8b1570362bccbdb4e27c1b9071 /lib
parent2d5d04d85f8e9c9a8ec866bae9fdb23beca41f1e (diff)
downloadruby-02328d4cc292bb143e4173bc8de855e52cdb004f.tar.gz
ruby-02328d4cc292bb143e4173bc8de855e52cdb004f.tar.xz
ruby-02328d4cc292bb143e4173bc8de855e52cdb004f.zip
* lib/fileutils.rb (cd): no longer accept :noop option, related code is useless (backported from trunk, rev 1.67). [ruby-core:05858] [ruby-Bugs:2494]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 320c49ce9..af36bbc73 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -118,7 +118,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
module_function :cd