diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-03 11:39:28 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-03 11:39:28 +0000 |
commit | 55687a63be85edcb7c62459b1c755a8a2963e31f (patch) | |
tree | de144530538f33987572bd41b1f85e981491cd1a /lib/fileutils.rb | |
parent | 8fbcfcbcde3e80bd74925f60f2af75d2129855da (diff) | |
download | ruby-55687a63be85edcb7c62459b1c755a8a2963e31f.tar.gz ruby-55687a63be85edcb7c62459b1c755a8a2963e31f.tar.xz ruby-55687a63be85edcb7c62459b1c755a8a2963e31f.zip |
merges r22567 from trunk into ruby_1_9_1.
--
* lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22732 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 774c0dec8..32408ee86 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -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 |