ライブラリ
- ビルトイン (2)
-
rubygems
/ dependency _ installer (2) -
rubygems
/ dependency _ list (3) -
rubygems
/ indexer (1) -
rubygems
/ installer (1) -
rubygems
/ package / tar _ input (2) -
rubygems
/ package / tar _ output (1) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ source _ index (8) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ specification (42) -
rubygems
/ uninstaller (7) -
rubygems
/ validator (1)
クラス
- Array (1)
-
Gem
:: DependencyInstaller (2) -
Gem
:: DependencyList (3) -
Gem
:: Indexer (1) -
Gem
:: Installer (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: Package :: TarOutput (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (8) -
Gem
:: SourceInfoCache (2) -
Gem
:: Specification (42) -
Gem
:: Uninstaller (7) -
Gem
:: Validator (1) - String (1)
キーワード
-
_ dump (1) -
add
_ bindir (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ gem _ contents (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) -
add
_ specs (1) -
ask
_ if _ ok (1) -
assign
_ defaults (1) - autorequire (1)
- autorequire= (1)
-
collect
_ specs (1) -
default
_ executable (1) -
default
_ executable= (1) -
dependencies
_ ok? (1) - download (1)
-
ensure
_ dependency (1) - executable (1)
- executable= (1)
- executables (1)
- executables= (1)
-
find
_ gems _ with _ sources (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) -
full
_ gem _ path (1) -
full
_ name (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage= (1)
-
latest
_ specs (1) -
load
_ gemspec (1) -
ok
_ to _ remove? (1) - outdated (1)
- pack (1)
-
path
_ ok? (1) - remove (1)
-
remove
_ by _ name (1) -
remove
_ executables (1) -
remove
_ spec (1) -
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
-
rubygems
_ version (1) -
rubygems
_ version= (1) -
runtime
_ dependencies (1) -
satisfies
_ requirement? (1) - search (2)
-
search
_ with _ source (1) - spec (1)
- summary (1)
- summary= (1)
-
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
to
_ ruby (1) -
uninstall
_ gem (1) -
unit
_ test (1) - unpack (1)
検索結果
先頭5件
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (63958.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Specification # executable=(executable) (27604.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (27604.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (27604.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (27604.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (27604.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (27604.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # summary=(summary) (27604.0) -
この Gem パッケージの短い説明をセットします。
この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。 -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (27370.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Gem
:: Specification # require _ path -> String (27370.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ path=(path) (27370.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: Specification # has _ test _ suite? -> bool (27352.0) -
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。 -
Gem
:: Specification # test _ suite _ file -> String (27352.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # test _ suite _ file=(file) (27352.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。 -
Gem
:: Uninstaller # uninstall _ gem(spec , specs) (27322.0) -
与えられた spec に対応する Gem をアンインストールします。
与えられた spec に対応する Gem をアンインストールします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param specs アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。 -
Gem
:: Specification # _ dump -> String (27304.0) -
重要なインスタンス変数のみを Marshal.#dump します。
重要なインスタンス変数のみを Marshal.#dump します。
@see Marshal.#dump -
Gem
:: Specification # assign _ defaults -> () (27304.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # author -> String (27304.0) -
作成者の名前を返します。
作成者の名前を返します。 -
Gem
:: Specification # author=(name) (27304.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
Gem
:: Specification # authors -> Array (27304.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # authors=(names) (27304.0) -
作成者の名前の配列をセットします。
作成者の名前の配列をセットします。 -
Gem
:: Specification # autorequire -> String (27304.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (27304.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # default _ executable -> String | nil (27304.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # default _ executable=(executable) (27304.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Gem
:: Specification # executable -> String (27304.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (27304.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # full _ gem _ path -> String (27304.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # full _ name -> String (27304.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # has _ unit _ tests? -> bool (27304.0) -
この Gem パッケージがユニットテストを含むかどうか返します。
この Gem パッケージがユニットテストを含むかどうか返します。
真の場合はユニットテストを含みます。そうでない場合は偽を返します。 -
Gem
:: Specification # require _ paths -> [String] (27304.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # require _ paths=(paths) (27304.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Gem
:: Specification # requirements -> Array (27304.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # requirements=(informations) (27304.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
Gem
:: Specification # rubygems _ version -> String (27304.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification # rubygems _ version=(version) (27304.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: Specification # runtime _ dependencies -> Array (27304.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (27304.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification # summary -> String (27304.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # to _ ruby -> String (27304.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
String
# unpack(template) -> Array (18916.0) -
Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。
Array#pack で生成された文字列を
テンプレート文字列 template にしたがってアンパックし、
それらの要素を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるものは、Array#pack、String#unpack
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表す数字
を続けることができます。「長さ」の代わりに`*'とすることで「残り全て」
を表すこともできます。
長さの意味はテンプレート文字により異なりますが大抵、
"iiii"
のよう... -
Gem
:: Uninstaller # remove _ executables(gemspec) (18370.0) -
与えられた Gem::Specification に対応する実行ファイルを削除します。
与えられた Gem::Specification に対応する実行ファイルを削除します。
@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (18352.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: SourceIndex # outdated -> Array (18352.0) -
更新されていない Gem::Specification のリストを返します。
更新されていない Gem::Specification のリストを返します。 -
Gem
:: Installer # ensure _ dependency(spec , dependency) -> true (18322.0) -
インストールしようとしている Gem が依存関係を満たしている事を確認します。
インストールしようとしている Gem が依存関係を満たしている事を確認します。
依存関係を満たしていない場合は、例外 Gem::InstallError が発生します。
@param spec Gem::Specification のインスタンスを指定します。
@param dependency Gem::Dependency のインスタンスを指定します。
@raise Gem::InstallError 依存関係を満たしていない場合に発生します。 -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (18322.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Validator # unit _ test(gem _ spec) (18322.0) -
与えられた Gem スペックにしたがってユニットテストを実行します。
与えられた Gem スペックにしたがってユニットテストを実行します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Package :: TarOutput # add _ gem _ contents {|data _ tar _ writer| . . . } -> self (18022.0) -
gem-format な tar ファイル内の data.tar.gz にファイルを追加するためのメ ソッドです。
gem-format な tar ファイル内の data.tar.gz にファイルを追加するためのメ
ソッドです。
ブロックには data.tar.gz に紐付いた Gem::Package::TarWriter のイ
ンスタンスが渡されます。このブロックパラメータには
Gem::Specification を追加するための metadata, metadata= という特
異メソッドが追加されています。 -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (9907.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (9607.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
Gem
:: SourceIndex # add _ spec(gem _ spec) -> Gem :: Specification (9373.0) -
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
自身に引数で与えられた Gem::Specification のインスタンスを追加します。
@param gem_spec Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (9355.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (9325.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (9322.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (9322.0) -
この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。
この gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。
//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_runtime_dependency, Gem::Depende... -
Gem
:: Package :: TarInput # metadata -> Gem :: Specification (9307.0) -
メタデータを返します。
メタデータを返します。 -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (9307.0) -
引数で指定された条件を満たす Gem のリストを返します。
引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。 -
Gem
:: Uninstaller # spec -> Gem :: Specification (9307.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。 -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (9304.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # homepage=(uri) (9304.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
@param uri この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を指定します。 -
Gem
:: SourceIndex # add _ specs(*gem _ specs) -> Hash (9070.0) -
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。
@param gem_specs 複数の Gem::Specification のインスタンスを指定します。 -
Gem
:: SourceIndex # latest _ specs -> Array (9052.0) -
自身に含まれる最新の Gem::Specification のリストを返します。
自身に含まれる最新の Gem::Specification のリストを返します。 -
Gem
:: Uninstaller # ask _ if _ ok(spec) -> bool (9022.0) -
アンインストール指定された Gem を削除すると依存関係を満たせなくなる場合に呼び出されます。
アンインストール指定された Gem を削除すると依存関係を満たせなくなる場合に呼び出されます。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: Uninstaller # dependencies _ ok?(spec) -> bool (9022.0) -
アンインストール指定された Gem を削除しても依存関係を満たすことができるか どうかチェックします。
アンインストール指定された Gem を削除しても依存関係を満たすことができるか
どうかチェックします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Gem
:: Uninstaller # path _ ok?(spec) -> bool (9022.0) -
アンインストール指定されている Gem がインストールされているパスをチェックします。
アンインストール指定されている Gem がインストールされているパスをチェックします。
@param spec Gem::Specification を指定します。 -
Gem
:: Uninstaller # remove(spec , list) (9022.0) -
指定された Gem を削除します。
指定された Gem を削除します。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。
@param list アンインストールする Gem のリストを指定します。
このパラメータは破壊的に変更されます。
@raise Gem::DependencyRemovalException アンインストール指定された Gem を削除すると
依存関係が壊れる場合に発生します。
@raise Gem::GemNotInHome... -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (673.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (673.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Gem
:: RemoteFetcher # download(spec , source _ uri , install _ dir = Gem . dir) -> String (622.0) -
source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。
source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。
既に Gem パッケージが存在する場合は、ファイルを置き換えませんが source_uri が
ローカルパス (file://) である場合は常にファイルを置き換えます。
@param spec Gem::Specification のインスタンスを指定します。
@param source_uri 取得先の URI を指定します。
@param install_dir ダウンロードしたファイルの配置先を指定します。
@return ローカルにコピーした Gem ファイルのパスを返します。
... -
Array
# pack(template) -> String (616.0) -
配列の内容を template で指定された文字列にしたがって、 バイナリとしてパックした文字列を返します。
配列の内容を template で指定された文字列にしたがって、
バイナリとしてパックした文字列を返します。
テンプレートは
型指定文字列とその長さ(省略時は1)を並べたものです。長さと
して * が指定された時は「残りのデータ全て」の長さを
表します。型指定文字は以下で述べる pack テンプレート文字列の通りです。
@param template 自身のバイナリとしてパックするためのテンプレートを文字列で指定します。
以下にあげるものは、Array#pack、String#unpack
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表す数字
を続けることができま... -
Gem
:: DependencyList # ok _ to _ remove?(full _ name) -> bool (388.0) -
与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。 そうでない場合は、偽を返します。
与えられた名前を持つ Gem::Specification を自身から削除しても OK な場合は真を返します。
そうでない場合は、偽を返します。
与えられた名前を持つ Gem::Specification を自身から削除すると、
依存関係を壊してしまう場合が、それを削除してはいけない場合です。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (352.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Indexer # collect _ specs -> Gem :: SourceIndex (352.0) -
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。
Gem のキャッシュディレクトリ内の *.gem ファイルから Gem::Specification を集めます。