るりまサーチ

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

別のキーワード

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

モジュール

検索結果

<< 1 2 3 ... > >>

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

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

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

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

例:
directory
'testdata/doc'...

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

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

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

FileTest.#directory?(file) -> bool (6225.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 (6223.0)

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

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


@see FileTest.#directory?...

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

FileTest.#directory? と同じです。

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

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

絞り込み条件を変える

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

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

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

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

@see FileTest.#directory?...

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

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

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

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

@see FileTest.#directory?...

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

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

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

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

@see FileTest.#directory?...

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

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

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

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

@see FileTest.#directory?...

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

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

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

絞り込み条件を変える

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

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

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