Skip to content

Commit 203198f

Browse files
znzhsbt
authored andcommitted
Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 55e6cf9 commit 203198f

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
@@ -312,14 +312,14 @@ def ln(src, dest, force: nil, noop: nil, verbose: nil)
312312
# FileUtils.rm_r site_ruby + '/mylib', :force => true
313313
# FileUtils.cp_lr 'lib/', site_ruby + '/mylib'
314314
#
315-
# # Examples of copying several files to target directory.
315+
# # Examples of linking several files to target directory.
316316
# FileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail'
317317
# FileUtils.cp_lr Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop => true, :verbose => true
318318
#
319-
# # If you want to copy all contents of a directory instead of the
319+
# # 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,
321321
# # use following code.
322-
# FileUtils.cp_lr 'src/.', 'dest' # cp_r('src', 'dest') makes src/dest, but this doesn't.
322+
# 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,
325325
dereference_root: true, remove_destination: false)

0 commit comments

Comments
 (0)