зеркало из https://github.com/github/ruby.git
* 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:
Родитель
151093b97e
Коммит
dfa9522c33
|
@ -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):
|
||||
|
|
|
@ -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 = {})
|
||||
|
|
Загрузка…
Ссылка в новой задаче