summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-13 05:47:54 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-13 05:47:54 +0000
commit450bba6d3d92fa2ec1e2f884df36d8f1852ea475 (patch)
tree1fec187a1e2979c54155bc1024d4e103b50ae9f9 /lib
parent371e57550d211636917103b45175c2b11c7b9d40 (diff)
* 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
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 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