зеркало из https://github.com/github/ruby.git
* file.c: [DOC] Clarify how File.file? handles symbolic links. Also
cleaned up the rdoc style for this method, more to follow. Originally reported by Michael Renner [Bug #10067] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0eed69757d
Коммит
1fd840a063
|
@ -1,3 +1,9 @@
|
||||||
|
Mon Jul 28 05:21:41 2014 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
|
* file.c: [DOC] Clarify how File.file? handles symbolic links. Also
|
||||||
|
cleaned up the rdoc style for this method, more to follow.
|
||||||
|
Originally reported by Michael Renner [Bug #10067]
|
||||||
|
|
||||||
Mon Jul 28 05:12:22 2014 Zachary Scott <e@zzak.io>
|
Mon Jul 28 05:12:22 2014 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* time.c: [DOC] Remove dead link and old bug report, which hasn't been
|
* time.c: [DOC] Remove dead link and old bug report, which hasn't been
|
||||||
|
|
10
file.c
10
file.c
|
@ -1645,12 +1645,14 @@ rb_file_executable_real_p(VALUE obj, VALUE fname)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* File.file?(file_name) -> true or false
|
* File.file?(file) -> true or false
|
||||||
*
|
*
|
||||||
* Returns <code>true</code> if the named file exists and is a
|
* Returns +true+ if the named +file+ exists and is a regular file.
|
||||||
* regular file.
|
|
||||||
*
|
*
|
||||||
* _file_name_ can be an IO object.
|
* +file+ can be an IO object.
|
||||||
|
*
|
||||||
|
* If the +file+ argument is a symbolic link, it will resolve the symbolic link
|
||||||
|
* and use the file referenced by the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Загрузка…
Ссылка в новой задаче