るりまサーチ

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

別のキーワード

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

モジュール

検索結果

<< < 1 2 3 4 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...
<< < 1 2 3 4 5 ... > >>