aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-11 21:02:58 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-11 21:02:58 +0000
commitdfa9522c338d06b709cc18bc7456e146491a33fe (patch)
tree2a011b64a20a25fdcde0f12ee1100f48a7ad4a20
parent151093b97ed3c394a47d54bc59f299262d964360 (diff)
downloadruby-dfa9522c338d06b709cc18bc7456e146491a33fe.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/fileutils.rb2
2 files changed, 6 insertions, 1 deletions
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 <drbrain@segment7.net>
+
+ * 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@ruby-lang.org>
* 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 = {})