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

ruby-changes:23575

From: drbrain <ko1@a...>
Date: Sat, 12 May 2012 06:03:08 +0900 (JST)
Subject: [ruby-changes:23575] drbrain:r35626 (trunk): * lib/fileutils.rb (cp_r): Fixed cp_r example. Patch by TJ Koblentz

drbrain	2012-05-12 06:02:58 +0900 (Sat, 12 May 2012)

  New Revision: 35626

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35626

  Log:
    * lib/fileutils.rb (cp_r):  Fixed cp_r example.  Patch by TJ Koblentz
      from pull request #114.  [ruby-trunk - Bug #6410]

  Modified files:
    trunk/ChangeLog
    trunk/lib/fileutils.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35625)
+++ ChangeLog	(revision 35626)
@@ -1,3 +1,8 @@
+Sat May 12 06:02:03 2012  Eric Hodel  <drbrain@s...>
+
+	* lib/fileutils.rb (cp_r):  Fixed cp_r example.  Patch by TJ Koblentz
+	  from pull request #114.  [ruby-trunk - Bug #6410]
+
 Sat May 12 05:23:06 2012  NARUSE, Yui  <naruse@r...>
 
 	* thread.c (rb_threadptr_execute_interrupts_common):
Index: lib/fileutils.rb
===================================================================
--- lib/fileutils.rb	(revision 35625)
+++ lib/fileutils.rb	(revision 35626)
@@ -495,7 +495,7 @@
   #   # If you want to copy 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_r 'src/.', 'dest'     # cp_r('src', 'dest') makes src/dest,
+  #   FileUtils.cp_r 'src/.', 'dest'     # cp_r('src', 'dest') makes dest/src,
   #                                      # but this doesn't.
   #
   def cp_r(src, dest, options = {})

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

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