ライブラリ
- ビルトイン (316)
-
net
/ ftp (20) - openssl (12)
- pathname (60)
- rake (24)
- readline (36)
-
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) -
rubygems
/ indexer (36) -
rubygems
/ installer (12) -
rubygems
/ package / tar _ reader / entry (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (12)
- tmpdir (24)
クラス
- Dir (36)
-
Errno
:: EXXX (24) - File (60)
-
File
:: Stat (24) -
Gem
:: Ext :: ConfigureBuilder (12) -
Gem
:: Ext :: ExtConfBuilder (12) -
Gem
:: Ext :: RakeBuilder (12) -
Gem
:: Indexer (36) -
Gem
:: Installer (12) -
Gem
:: Package :: TarReader :: Entry (12) - IO (12)
-
Net
:: FTP :: MLSxEntry (20) -
OpenSSL
:: ASN1 :: ObjectId (12) - Pathname (60)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (12)
- SystemCallError (36)
キーワード
- Readline (12)
- Rubyの起動 (12)
- Stat (12)
- build (36)
- children (12)
-
close
_ on _ exec= (12) - delete (12)
-
dest
_ directory (12) - directory? (88)
-
directory
_ makable? (10) -
each
_ child (24) -
emacs
_ editing _ mode (12) - exec (12)
- exist? (24)
- fail (36)
-
file
_ create (12) - ftype (24)
- logger (12)
- mktmpdir (24)
- new (72)
- raise (36)
- rdoc (12)
- register (12)
-
relative
_ path _ from (12) - rename (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ commands / uninstall _ command (12) - system (28)
-
test
/ unit (1) -
unix
_ server _ loop (12) - unlink (12)
- unpack (12)
-
vi
_ editing _ mode (12)
検索結果
先頭5件
-
Gem
:: Ext :: RakeBuilder . build(extension , directory , dest _ path , results) -> Array (107.0) -
@todo
...が存在する場合は、それを実行してから Rake を実行します。
@param extension ファイル名を指定します。
@param directory このメソッドでは使用していません。
@param dest_path ???
@param results コマンドの実行結果を格納します。破壊... -
Gem
:: Installer # unpack(directory) (107.0) -
与えられたディレクトリに Gem を展開します。
...与えられたディレクトリに Gem を展開します。
@param directory Gem を展開するディレクトリを指定します。... -
Pathname
# children(with _ directory = true) -> [Pathname] (107.0) -
self 配下にあるパス名(Pathnameオブジェクト)の配列を返します。
...にあるパス名(Pathnameオブジェクト)の配列を返します。
ただし、 ".", ".." は要素に含まれません。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
@raise Errno::EXXX self が存在しないパスであ... -
Gem
:: Indexer . new(directory) -> Gem :: Indexer (101.0) -
与えられたディレクトリに Gem リポジトリのインデックスを作成するために 自身を初期化します。
与えられたディレクトリに Gem リポジトリのインデックスを作成するために
自身を初期化します。 -
rubygems
/ commands / generate _ index _ command (30.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
...バに対するインデックスを作成するためのライブラリです。
Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘ......Generates the index files for a gem server directory
Description:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under the path given to
the --directory option. When done, it will generate a set of......Marshal version number comes from ruby's Marshal::MAJOR_VERSION and
Marshal::MINOR_VERSION constants. It is used to ensure compatibility. The
yaml indexes exist for legacy RubyGems clients and fallback in case of
Marshal
version changes.
Defaults:
--directory .... -
Rubyの起動 (18.0)
-
Rubyの起動 * cmd_option * shebang
...実行されます。`-n'か`-p'オプションが同時に指定されない限り,
このオプションは意味を持ちません。
: -C directory
スクリプト実行前に指定されたディレクトリに移動します。
: -c
スクリプトの内部形式へのコンパイ......% cat /tmp/junk
matz
% ruby -p -i.bak -e '$_.upcase!' /tmp/junk
% cat /tmp/junk
MATZ
% cat /tmp/junk.bak
matz
//}
: -I directory
ファイルをロードするパスを指定(追加)します。指定されたディレ
クトリはRubyの配列変数($:)に追加さ......or -W: すべての警告を出力する
//}
組み込み変数 $VERBOSE はそれぞれ nil, false, true
に設定されます。
: -x[directory]
メッセージ中のスクリプトを取り出して実行します。スクリプトを
読み込む時に、`#!'で始まり, "ruby"......らは `-W:no-deprecated' がデフォルトになります。警告を出力したい場合は `-W:deprecated' を使ってください。
: -x[directory]
メッセージ中のスクリプトを取り出して実行します。スクリプトを
読み込む時に、`#!'で始まり, "ruby"......rb
test.rb:1:in `f6': unhandled exception
from test.rb:2:in `f5'
from test.rb:3:in `f4'
from test.rb:4:in `f3'
... 3 levels...
//}
: -C directory
スクリプト実行前に指定されたディレクトリに移動します。
: -c
スクリプトの内部形式へのコンパイ... -
rdoc (18.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...the source tree documentation will be generated for. Set this
when building documentation outside the source directory. Default is
the current directory.
: --page-dir dir
Directory where guides, your FAQ or other pages not associated with
a class live. Set this when you don't store such... -
Dir
. exist?(file _ name) -> bool (12.0) -
file_name で与えられたディレクトリが存在する場合に真を返します。 そうでない場合は、偽を返します。
...られたディレクトリが存在する場合に真を返します。
そうでない場合は、偽を返します。
@param file_name 存在を確認したいディレクトリ名。
//emlist[例][ruby]{
Dir.exist?(".") # => true
File.directory?(".") # => true
//}
@see File.directory?... -
Dir
. mktmpdir(prefix _ suffix = nil , tmpdir = nil) -> String (12.0) -
一時ディレクトリを作成します。
...Test.directory?(memory_dir) #=> false
dir = Dir.mktmpdir
# ブロックを与えない場合は、ディレクトリは存在する。
begin
File.open("#{dir}/foo", "w") { |fp|
fp.puts "hogehoge"
}
ensure
FileUtils.remove_entry_secure dir
end
p FileTest.directory?(di...