From d890fabecf780d9712a437a484f24ce90df45f8a Mon Sep 17 00:00:00 2001 From: stomar Date: Sat, 14 Apr 2018 16:47:59 +0000 Subject: lib/fileutils.rb: [DOC] fix typos and grammar git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/fileutils.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/fileutils.rb') diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 74a58213a1..284515f334 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -305,7 +305,7 @@ module FileUtils # # +src+ can be a list of files. # - # # Installing ruby library "mylib" under the site_ruby + # # Installing the library "mylib" under the site_ruby directory. # FileUtils.rm_r site_ruby + '/mylib', :force => true # FileUtils.cp_lr 'lib/', site_ruby + '/mylib' # @@ -315,7 +315,7 @@ module FileUtils # # # If you want to link all contents of a directory instead of the # # directory itself, c.f. src/x -> dest/x, src/y -> dest/y, - # # use following code. + # # use the following code. # FileUtils.cp_lr 'src/.', 'dest' # cp_lr('src', 'dest') makes dest/src, but this doesn't. # def cp_lr(src, dest, noop: nil, verbose: nil, @@ -381,7 +381,7 @@ module FileUtils # Both of +src+ and +dest+ must be a path name. # +src+ must exist, +dest+ must not exist. # - # If +dereference_root+ is true, this method dereference tree root. + # If +dereference_root+ is true, this method dereferences the tree root. # # If +remove_destination+ is true, this method removes each destination file before copy. # -- cgit v1.2.3