[前][次][番号順一覧][スレッド一覧]

ruby-changes:50597

From: kazu <ko1@a...>
Date: Wed, 14 Mar 2018 00:11:04 +0900 (JST)
Subject: [ruby-changes:50597] kazu:r62745 (trunk): Fix typos [ci skip]

kazu	2018-03-14 00:10:59 +0900 (Wed, 14 Mar 2018)

  New Revision: 62745

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62745

  Log:
    Fix typos [ci skip]

  Modified files:
    trunk/lib/fileutils.rb
Index: lib/fileutils.rb
===================================================================
--- lib/fileutils.rb	(revision 62744)
+++ lib/fileutils.rb	(revision 62745)
@@ -309,14 +309,14 @@ module FileUtils https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L309
   #   FileUtils.rm_r site_ruby + '/mylib', :force => true
   #   FileUtils.cp_lr 'lib/', site_ruby + '/mylib'
   #
-  #   # Examples of copying several files to target directory.
+  #   # Examples of linking several files to target directory.
   #   FileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail'
   #   FileUtils.cp_lr Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop => true, :verbose => true
   #
-  #   # If you want to copy all contents of a directory instead of the
+  #   # 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.
-  #   FileUtils.cp_lr 'src/.', 'dest'  # cp_r('src', 'dest') makes src/dest, but this doesn't.
+  #   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,
             dereference_root: true, remove_destination: false)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]