るりまサーチ

最速Rubyリファレンスマニュアル検索!
727件ヒット [1-100件を表示] (0.014秒)
トップページ > クエリ:directory[x]

別のキーワード

  1. _builtin directory?
  2. pathname directory?
  3. rake directory
  4. stat directory?
  5. file directory?

モジュール

検索結果

<< 1 2 3 ... > >>

Kernel#directory(dir) -> () (18107.0)

与えられたディレクトリを作成するタスクを定義します。

...与えられたディレクトリを作成するタスクを定義します。

@param dir 作成するディレクトリを指定します。

例:
directory
'testdata/doc'...

Gem::Indexer#directory -> String (18101.0)

インデックスをビルドするための一時的なディレクトリを返します。

インデックスをビルドするための一時的なディレクトリを返します。

FileTest.#directory?(file) -> bool (6125.0)

ファイルがディレクトリの時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...ブジェクト file が既に close されていた場合に発生します。

例:
FileTest.directory?('/etc') # => true
FileTest.directory?('/etc/passwd') # => false

f = File.open('/etc')
FileTest.directory?(f) # => true
f.close
FileTest.directory?(f) # => IOError: closed stream...

Pathname#directory? -> bool (6123.0)

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

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


@see FileTest.#directory?...

File.directory?(path) -> bool (6117.0)

FileTest.#directory? と同じです。

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

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

絞り込み条件を変える

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

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

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

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

@see FileTest.#directory?...

Shell#directory?(file) -> bool (6107.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

Shell::CommandProcessor#directory?(file) -> bool (6107.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

Shell::Filter#directory?(file) -> bool (6107.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

Gem::Indexer#dest_directory -> String (6101.0)

インデックスを保存するディレクトリを返します。

インデックスを保存するディレクトリを返します。

絞り込み条件を変える

<< 1 2 3 ... > >>