Skip to content

Commit 26a347c

Browse files
stomarhsbt
authored andcommitted
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
1 parent 203198f commit 26a347c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/fileutils.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def ln(src, dest, force: nil, noop: nil, verbose: nil)
308308
#
309309
# +src+ can be a list of files.
310310
#
311-
# # Installing ruby library "mylib" under the site_ruby
311+
# # Installing the library "mylib" under the site_ruby directory.
312312
# FileUtils.rm_r site_ruby + '/mylib', :force => true
313313
# FileUtils.cp_lr 'lib/', site_ruby + '/mylib'
314314
#
@@ -318,7 +318,7 @@ def ln(src, dest, force: nil, noop: nil, verbose: nil)
318318
#
319319
# # If you want to link all contents of a directory instead of the
320320
# # directory itself, c.f. src/x -> dest/x, src/y -> dest/y,
321-
# # use following code.
321+
# # use the following code.
322322
# FileUtils.cp_lr 'src/.', 'dest' # cp_lr('src', 'dest') makes dest/src, but this doesn't.
323323
#
324324
def cp_lr(src, dest, noop: nil, verbose: nil,
@@ -384,7 +384,7 @@ def ln_sf(src, dest, noop: nil, verbose: nil)
384384
# Both of +src+ and +dest+ must be a path name.
385385
# +src+ must exist, +dest+ must not exist.
386386
#
387-
# If +dereference_root+ is true, this method dereference tree root.
387+
# If +dereference_root+ is true, this method dereferences the tree root.
388388
#
389389
# If +remove_destination+ is true, this method removes each destination file before copy.
390390
#

0 commit comments

Comments
 (0)