* lib/fileutils.rb (FileUtils::ln): ln documentation fix.
[ruby-core:06661] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9549ee64e1
commit
9ad68774c1
@ -1,3 +1,8 @@
|
|||||||
|
Sat Nov 19 19:57:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/fileutils.rb (FileUtils::ln): ln documentation fix.
|
||||||
|
[ruby-core:06661]
|
||||||
|
|
||||||
Sat Nov 19 08:19:38 2005 Zach Dennis <zdennis@mktec.com>
|
Sat Nov 19 08:19:38 2005 Zach Dennis <zdennis@mktec.com>
|
||||||
|
|
||||||
* ext/socket/socket.c: Socket Documentation. [ruby-core:6580]
|
* ext/socket/socket.c: Socket Documentation. [ruby-core:6580]
|
||||||
|
@ -274,7 +274,7 @@ module FileUtils
|
|||||||
# <b><tt>ln(old, new, options = {})</tt></b>
|
# <b><tt>ln(old, new, options = {})</tt></b>
|
||||||
#
|
#
|
||||||
# Creates a hard link +new+ which points to +old+.
|
# Creates a hard link +new+ which points to +old+.
|
||||||
# If +new+ already exists and it is a directory, creates a symbolic link +new/old+.
|
# If +new+ already exists and it is a directory, creates a link +new/old+.
|
||||||
# If +new+ already exists and it is not a directory, raises Errno::EEXIST.
|
# If +new+ already exists and it is not a directory, raises Errno::EEXIST.
|
||||||
# But if :force option is set, overwrite +new+.
|
# But if :force option is set, overwrite +new+.
|
||||||
#
|
#
|
||||||
|
@ -37,6 +37,7 @@ module Find
|
|||||||
while file = paths.shift
|
while file = paths.shift
|
||||||
catch(:prune) do
|
catch(:prune) do
|
||||||
yield file.dup.taint
|
yield file.dup.taint
|
||||||
|
next unless File.exist? file
|
||||||
begin
|
begin
|
||||||
if File.lstat(file).directory? then
|
if File.lstat(file).directory? then
|
||||||
d = Dir.open(file)
|
d = Dir.open(file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user