diff --git a/ChangeLog b/ChangeLog index 89b2c823c3..81fec9c919 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 23 14:47:04 2009 Nobuyoshi Nakada + + * lib/fileutils.rb (mv): added description for the case of + different partitions. [ruby-talk:329072] + Mon Feb 23 10:19:41 2009 Nobuyoshi Nakada * include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods, diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 774c0dec8a..32408ee868 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