mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
151093b97e
commit
dfa9522c33
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
Sat May 12 05:23:06 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* thread.c (rb_threadptr_execute_interrupts_common):
|
* thread.c (rb_threadptr_execute_interrupts_common):
|
||||||
|
|
|
@ -495,7 +495,7 @@ public
|
||||||
# # If you want to copy all contents of a directory instead of the
|
# # 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,
|
# # directory itself, c.f. src/x -> dest/x, src/y -> dest/y,
|
||||||
# # use following code.
|
# # 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.
|
# # but this doesn't.
|
||||||
#
|
#
|
||||||
def cp_r(src, dest, options = {})
|
def cp_r(src, dest, options = {})
|
||||||
|
|
Loading…
Reference in a new issue