From 450bba6d3d92fa2ec1e2f884df36d8f1852ea475 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 13 Mar 2007 05:47:54 +0000 Subject: * test/fileutils/fileasserts.rb: Fix wrong error message. * lib/fileutils.rb (FileUtils::mv): Type Error; should utilize Strings instead of Symbols here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@12060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/fileutils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fileutils.rb') diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 0c20362158..043a24d2b5 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -518,7 +518,7 @@ module FileUtils module_function :move OPT_TABLE['mv'] = - OPT_TABLE['move'] = [:force, :noop, :verbose, :secure] + OPT_TABLE['move'] = %w[force noop verbose secure] def rename_cannot_overwrite_file? #:nodoc: /djgpp|cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM -- cgit v1.2.3