要約
目次
- モジュール関数
- 定数
モジュール関数
- clear_paths -> nil[permalink][rdoc][edit]
- 
Gem.#dir, Gem.#path の値をリセットします。 次に Gem.#dir, Gem.#path が呼ばれた時は、値を最初から計算します。このメソッドは主にユニットテストの独立性を提供するために使用します。 
- dir -> String[permalink][rdoc][edit]
- 
Gem のインストールされているディレクトリを返します。 
- ensure_gem_subdirectories[permalink][rdoc][edit]
- 
Gem をインストールするために必要なサブディレクトリを適切に作成します。 ディレクトリを作成する権限が無い場合もこのメソッドからは例外は発生しません。 [SEE_ALSO] Gem::DIRECTORIES 
- marshal_version -> String[permalink][rdoc][edit]
- 
Marshal のバージョンを表す文字列を返します。 
- path -> Array[permalink][rdoc][edit]
- 
Gem を検索するパスの配列を返します。 
- prefix -> String[permalink][rdoc][edit]
- 
このライブラリがインストールされているディレクトリの親ディレクトリを返します。 
- set_home[permalink][rdoc][edit]
- 
Gem のホームディレクトリをセットします。 [SEE_ALSO] Gem.#set_home 
- set_paths[permalink][rdoc][edit]
- 
Gem を検索するパスをセットします。 [SEE_ALSO] Gem.#path 
- source_index -> Gem::SourceIndex[permalink][rdoc][edit]
- 
Gem.#path にある Gem::Specification のキャッシュを返します。インストールされている Gem::Specification のインデックスを返します [SEE_ALSO] Gem::SourceIndex, Gem::Specification 
- win_platform? -> bool[permalink][rdoc][edit]
- 
Windows プラットフォームであれば真を返します。そうでなければ偽を返します。 [SEE_ALSO] Object::RUBY_PLATFORM 
定数
- ConfigMap -> Hash[permalink][rdoc][edit]
- 
RbConfig::CONFIG の中からこのライブラリで使用するものを抽出して定義したハッシュ。 
- DIRECTORIES -> Array[permalink][rdoc][edit]
- 
Gem のホームディレクトリ以下に作成されるサブディレクトリの配列。 
- RubyGemsVersion -> String[permalink][rdoc][edit]
- RubyGemsPackageVersion -> String
- 
このライブラリのバージョンを表す文字列。 
- WIN_PATTERNS -> Array[permalink][rdoc][edit]
- 
Windows 上で動いている Ruby を識別するための正規表現の配列。