るりまサーチ

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

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

検索結果

<< 1 2 3 ... > >>

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

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

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

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

例:
directory
'testdata/doc'...

Net::FTP::MLSxEntry#directory_makable? -> bool (12301.0)

ディレクトリを作成可能ならば true を返します。

ディレクトリを作成可能ならば true を返します。

Net::FTP#mkdir でディレクトリを作成可能かどうかを意味します。

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

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

...lse を返します。

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

@raise IOError 指定された IO オブジェクト 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...

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

FileTest.#directory? と同じです。

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

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

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

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

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

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

@see FileTest.#directory?...

絞り込み条件を変える

File.delete(*filename) -> Integer (9312.0)

ファイルを削除します。削除したファイルの数を返します。 削除に失敗した場合は例外 Errno::EXXX が発生します。

...ilename ファイル名を表す文字列を指定します。

@raise Errno::EXXX 失敗した場合に発生します。

//emlist[例][ruby]{
IO.write("test.txt", "test")
p File.exist?("test.txt") # => true
p File.delete("test.txt") # => 1
p File.exist?("test.txt") # => false
begin
File.del...
...ete("test.txt")
rescue
p $! # => #<Errno::ENOENT: No such file or directory @ unlink_internal - test.txt>
end
//}...

Gem::Ext::ConfigureBuilder.build(extension, directory, dest_path, results) -> Array (9307.0)

@todo

...@todo

Makefile が存在しない場合は、configure スクリプトを実行して
Makefile を作成してから make を実行します。

@param extension このメソッドでは使用しません。

@param directory

@param dest_path

@param results コマンドの実行結果を格納...
...します。破壊的に変更されます。

@see Gem::Ext::Builder.make...

Gem::Ext::ExtConfBuilder.build(extension, directory, dest_path, results) -> Array (9307.0)

@todo

...odo

Makefile が存在しない場合は、extconf.rb を実行して
Makefile を作成してから make を実行します。

@param extension ファイル名を指定します。

@param directory このメソッドでは使用していません。

@param dest_path ???

@param results コマ...
...ンドの実行結果を格納します。破壊的に変更されます。

@see Gem::Ext::Builder.make...

Gem::Ext::RakeBuilder.build(extension, directory, dest_path, results) -> Array (9307.0)

@todo

...ake を実行します。

@param extension ファイル名を指定します。

@param directory このメソッドでは使用していません。

@param dest_path ???

@param results コマンドの実行結果を格納します。破壊的に変更されます。

@see Gem::Ext::Builder.make...

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

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

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

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

@see FileTest.#directory?...

絞り込み条件を変える

<< 1 2 3 ... > >>