* lib/fileutils.rb (mv): added description for the case of

different partitions.  [ruby-talk:329072]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-02-23 05:47:06 +00:00
parent 15700ff0be
commit bcf6fd2c86
2 changed files with 6 additions and 1 deletions

View file

@ -487,7 +487,7 @@ module FileUtils
# Options: force noop verbose
#
# Moves file(s) +src+ to +dest+. If +file+ and +dest+ exist on the different
# disk partition, the file is copied instead.
# disk partition, the file is copied then the original file is removed.
#
# FileUtils.mv 'badname.rb', 'goodname.rb'
# FileUtils.mv 'stuff.rb', '/notexist/lib/ruby', :force => true # no error