467件ヒット
[1-100件を表示]
(0.118秒)
種類
- 特異メソッド (198)
- インスタンスメソッド (146)
- モジュール関数 (112)
- 文書 (11)
ライブラリ
- ビルトイン (233)
-
net
/ ftp (18) - openssl (11)
- pathname (55)
- rake (22)
- readline (22)
-
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ package / tar _ reader / entry (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (11)
- tmpdir (22)
クラス
- Dir (33)
- File (55)
-
File
:: Stat (22) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: Package :: TarReader :: Entry (11) -
Net
:: FTP :: MLSxEntry (18) -
OpenSSL
:: ASN1 :: ObjectId (11) - Pathname (55)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (11)
- SystemCallError (33)
キーワード
- Rubyの起動 (11)
- build (33)
- children (11)
- delete (11)
- directory? (82)
-
directory
_ makable? (9) -
each
_ child (22) -
emacs
_ editing _ mode (11) - exist? (22)
- fail (33)
-
file
_ create (11) - ftype (22)
- mktmpdir (22)
- new (33)
- raise (33)
- register (11)
-
relative
_ path _ from (11) - rename (11)
- system (24)
-
unix
_ server _ loop (11) - unlink (11)
-
vi
_ editing _ mode (11)
検索結果
先頭5件
-
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?...