diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-14 16:47:59 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-14 16:47:59 +0000 |
commit | d890fabecf780d9712a437a484f24ce90df45f8a (patch) | |
tree | 2c02b6c8c5a0301ab712f3960699f2894bad92cf /lib/fileutils.rb | |
parent | f10a13484a39c20f8078526863cb1a3a2f5f8d4c (diff) |
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
Diffstat (limited to 'lib/fileutils.rb')
-rw-r--r-- | lib/fileutils.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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. # |