diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-23 05:47:06 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-23 05:47:06 +0000 |
| commit | b080500cbf7c1cf177ddc91958aa0ef02b0026a7 (patch) | |
| tree | e56d616834579faac86e78c5936ccdb3fe89d8e8 /lib | |
| parent | e99fb3166d2da5ea694f4c5cf27e496e92d3043c (diff) | |
* 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/branches/ruby_1_8@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/fileutils.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 3fdb6cbfe6..3117579e15 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -479,7 +479,8 @@ 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 copied file is created on the +dest+ and the original + # file removed from +src+. # # FileUtils.mv 'badname.rb', 'goodname.rb' # FileUtils.mv 'stuff.rb', '/notexist/lib/ruby', :force => true # no error |
