るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.025秒)

別のキーワード

  1. net/imap param
  2. win32ole win32ole_param
  3. win32ole_param input?
  4. win32ole_param output?
  5. win32ole_param retval?

ライブラリ

クラス

検索結果

Dir.exist?(file_name) -> bool (18107.0)

file_name で与えられたディレクトリが存在する場合に真を返します。 そうでない場合は、偽を返します。

...られたディレクトリが存在する場合に真を返します。
そうでない場合は、偽を返します。

@param file_name 存在を確認したいディレクトリ名。

//emlist[例][ruby]{
Dir.exist?(".") # => true
File.directory?(".") # => true
//}

@see File.directory?...

File.exist?(path) -> bool (18107.0)

FileTest.#exist? と同じです。

...FileTest.#exist? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...