1件ヒット
[1-1件を表示]
(0.012秒)
ライブラリ
- ビルトイン (1)
検索結果
-
Dir
. exist?(file _ name) -> bool (54304.0) -
file_name で与えられたディレクトリが存在する場合に真を返します。 そうでない場合は、偽を返します。
...られたディレクトリが存在する場合に真を返します。
そうでない場合は、偽を返します。
@param file_name 存在を確認したいディレクトリ名。
//emlist[例][ruby]{
Dir.exist?(".") # => true
File.directory?(".") # => true
//}
@see File.directory?...