Bug #10102 ยป 0001-dir.c-DOC-Document-that-Dir.exists-is-deprecated.patch
| dir.c | ||
|---|---|---|
|
/*
|
||
|
* call-seq:
|
||
|
* Dir.exist?(file_name) -> true or false
|
||
|
* Dir.exists?(file_name) -> true or false
|
||
|
*
|
||
|
* Returns <code>true</code> if the named file is a directory,
|
||
|
* <code>false</code> otherwise.
|
||
| ... | ... | |
|
}
|
||
|
#endif
|
||
|
/*
|
||
|
* call-seq:
|
||
|
* Dir.exists?(file_name) -> true or false
|
||
|
*
|
||
|
* Deprecated method. Don't use.
|
||
|
*/
|
||
|
static VALUE
|
||
|
rb_dir_exists_p(VALUE obj, VALUE fname)
|
||
|
{
|
||