From 143f8a86a46b7ec38ad5382b8fe00e80785c1212 Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 4 Aug 2006 22:00:31 +0000 Subject: Merge RDoc changes from HEAD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/ftools.rb | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'lib/ftools.rb') diff --git a/lib/ftools.rb b/lib/ftools.rb index a99c7e713..5f082331f 100644 --- a/lib/ftools.rb +++ b/lib/ftools.rb @@ -11,25 +11,22 @@ # # == Description # -# +ftools+ adds several (class, not instance) methods to the File class, for copying, moving, -# deleting, installing, and comparing files, as well as creating a directory path. See the -# File class for details. +# ftools adds several (class, not instance) methods to the File class, for +# copying, moving, deleting, installing, and comparing files, as well as +# creating a directory path. See the File class for details. # -# +fileutils+ contains all or nearly all the same functionality and more, and is a recommended -# option over +ftools+. -# - - +# FileUtils contains all or nearly all the same functionality and more, and +# is a recommended option over ftools # # When you # # require 'ftools' # -# then the File class aquires some utility methods for copying, moving, and deleting files, and -# more. +# then the File class aquires some utility methods for copying, moving, and +# deleting files, and more. # -# See the method descriptions below, and consider using +fileutils+ as it is more -# comprehensive. +# See the method descriptions below, and consider using FileUtils as it is +# more comprehensive. # class File end @@ -96,8 +93,8 @@ class << File # # Moves a file +from+ to +to+ using #syscopy. If +to+ is a directory, - # copies from +from+ to to/from. If +verbose+ is true, from -> to - # is printed. + # copies from +from+ to to/from. If +verbose+ is true, from -> + # to is printed. # def move(from, to, verbose = false) to = catname(from, to) @@ -127,7 +124,7 @@ class << File alias mv move # - # Returns +true+ iff the contents of files +from+ and +to+ are + # Returns +true+ if and only if the contents of files +from+ and +to+ are # identical. If +verbose+ is +true+, from <=> to is printed. # def compare(from, to, verbose = false) -- cgit