From dfa9522c338d06b709cc18bc7456e146491a33fe Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 11 May 2012 21:02:58 +0000 Subject: [PATCH] * lib/fileutils.rb (cp_r): Fixed cp_r example. Patch by TJ Koblentz from pull request #114. [ruby-trunk - Bug #6410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/fileutils.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 987c823253..4804bfcd6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat May 12 06:02:03 2012 Eric Hodel + + * 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 * thread.c (rb_threadptr_execute_interrupts_common): diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 65e9bb9e8e..ff317ded21 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -495,7 +495,7 @@ public # # 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 = {})