るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.172秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:t[x] > クエリ:-[x] > クエリ:b[x] > バージョン:3.2[x] > クエリ:directory?[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

検索結果

File::Stat#directory? -> bool (73225.0)

ディレクトリの時に真を返します。

ディレクトリの時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
//}

@see FileTest.#directory?

Gem::Package::TarReader::Entry#directory? -> bool (73207.0)

自身がディレクトリであれば、真を返します。 そうでない場合は、偽を返します。

自身がディレクトリであれば、真を返します。
そうでない場合は、偽を返します。

Net::FTP::MLSxEntry#directory? -> bool (73207.0)

エントリがディレクトリであれば true を返します。

エントリがディレクトリであれば true を返します。

Net::FTP::MLSxEntry#type が "dir"、 "pdir"、 "cdir"、
のいずれかであれば true を返します。

Pathname#directory? -> bool (73207.0)

FileTest.directory?(self.to_s) と同じです。

FileTest.directory?(self.to_s) と同じです。


@see FileTest.#directory?