別のキーワード
ライブラリ
- e2mmap (13)
- rubygems (8)
-
rubygems
/ command (5) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ dependency _ installer (4) -
rubygems
/ dependency _ list (3) -
rubygems
/ exceptions (6) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (1) -
rubygems
/ gem _ path _ searcher (2) -
rubygems
/ indexer (1) -
rubygems
/ installer (6) -
rubygems
/ old _ format (2) -
rubygems
/ package (5) -
rubygems
/ package / tar _ input (4) -
rubygems
/ package / tar _ output (2) -
rubygems
/ package / tar _ writer (8) -
rubygems
/ platform (2) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ requirement (3) -
rubygems
/ security (6) -
rubygems
/ source _ index (5) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (62) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (18) -
rubygems
/ version (9) -
rubygems
/ version _ option (1)
クラス
-
Gem
:: Command (5) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: DependencyInstaller (4) -
Gem
:: DependencyList (3) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: FileOperations (1) -
Gem
:: Format (1) -
Gem
:: GemPathSearcher (2) -
Gem
:: Indexer (1) -
Gem
:: Installer (5) -
Gem
:: LoadError (2) -
Gem
:: OldFormat (2) -
Gem
:: Package :: TarInput (4) -
Gem
:: Package :: TarOutput (2) -
Gem
:: Package :: TarWriter (7) -
Gem
:: Package :: TarWriter :: BoundedStream (1) -
Gem
:: Platform (2) -
Gem
:: RemoteFetcher (1) -
Gem
:: Requirement (3) -
Gem
:: Security :: Policy (2) -
Gem
:: SourceIndex (5) -
Gem
:: SourceInfoCache (1) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (62) -
Gem
:: StreamUI (6) -
Gem
:: Uninstaller (2) -
Gem
:: Version (9)
モジュール
- Exception2MessageMapper (13)
- Gem (1)
-
Gem
:: DefaultUserInteraction (6) -
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (9) -
Gem
:: Package (1) -
Gem
:: QuickLoader (4) -
Gem
:: Security (4) -
Gem
:: UserInteraction (5) -
Gem
:: VersionOption (1) - Kernel (1)
キーワード
- <=> (1)
- === (1)
- =~ (1)
- ClosedIO (1)
-
DEFAULT
_ OPTIONS (1) - DefaultUserInteraction (1)
- DependencyRemovalException (1)
- EndOfYAMLException (1)
- ExtensionBuildError (1)
- Fail (2)
- FileOperations (1)
- FilePermissionError (1)
- GemVersions (1)
- InstallUpdateOptions (1)
- InvalidSpecificationException (1)
- LocalRemoteOptions (1)
-
MARSHAL
_ FIELDS (1) - NonSeekableIO (1)
- Raise (2)
- RemoteInstallationCancelled (1)
- RemoteInstallationSkipped (1)
- Requirement (1)
-
_ load (1) -
accept
_ uri _ http (1) -
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ common _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ option (1) -
add
_ platform _ option (1) -
add
_ proxy _ option (1) -
add
_ runtime _ dependency (1) -
add
_ source _ option (1) -
add
_ trusted _ cert (1) -
add
_ update _ sources _ option (1) - alert (2)
-
alert
_ error (2) -
alert
_ warning (2) - ask (1)
-
ask
_ yes _ no (2) -
assign
_ defaults (1) -
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) - autorequire= (1)
- bind (1)
- both? (1)
- build (3)
-
build
_ cert (1) -
build
_ extensions (1) -
build
_ self _ signed _ cert (1) -
calculate
_ integers _ for _ gem _ version (1) -
check
_ closed (1) -
choose
_ from _ list (2) - close (2)
- compress (1)
- correct? (1)
- create (1)
-
def
_ exception (2) -
default
_ executable (1) -
default
_ executable= (1) -
default
_ value (1) -
dependency
_ order (1) -
development
_ dependencies (1) - email (1)
- email= (1)
- eql? (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
-
extend
_ object (1) -
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) - fail (1)
-
file
_ name (1) - files (1)
- files= (1)
- find (1)
-
find
_ all (1) -
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) - flush (1)
-
from
_ io (2) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - install (2)
-
install
_ update _ defaults _ str (1) -
installation
_ path (1) -
installation
_ satisfies _ dependency? (1) -
lib
_ files (1) - list (1)
- load (1)
-
load
_ gemspec (1) -
load
_ specification (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - local? (1)
-
marshal
_ dump (1) -
marshal
_ load (1) -
marshal
_ version (1) - mkdir (1)
- new (7)
- normalize (1)
-
normalize
_ yaml _ input (1) - open (3)
-
open
_ uri _ or _ path (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - platform (1)
- platform= (1)
- prerelease? (1)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) -
read
_ only (1) - release (1)
- remote? (1)
-
remove
_ by _ name (1) -
remove
_ spec (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
rubygems
/ commands / specification _ command (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - search (2)
-
show
_ lookup _ failure (1) -
sign
_ cert (1) - spec (3)
- specification (1)
-
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
trusted
_ cert _ path (1) - ui (2)
- ui= (2)
-
use
_ ui (2) - validate (1)
- version (1)
- version= (1)
-
version
_ requirement (1) -
version
_ requirement= (1) -
warn
_ legacy (1) -
yaml
_ initialize (1)
検索結果
先頭5件
-
Gem
:: QuickLoader # push _ gem _ version _ on _ load _ path (72904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (72901.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Kernel
# gem(gem _ name , *version _ requirements) -> bool (64759.0) -
$LOAD_PATH に Ruby Gem を追加します。
$LOAD_PATH に Ruby Gem を追加します。
指定された Gem をロードする前にその Gem が必要とする Gem をロードします。
バージョン情報を省略した場合は、最も高いバージョンの Gem をロードします。
指定された Gem やその Gem が必要とする Gem が見つからなかった場合は
Gem::LoadError が発生します。
バージョンの指定方法に関しては Gem::Version を参照してください。
rubygems ライブラリがライブラリバージョンの衝突を検出しない限り、
gem メソッドは全ての require メソッドよりも前に実行されます。
... -
Gem
:: QuickLoader # calculate _ integers _ for _ gem _ version (63904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (63619.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Gem
. # marshal _ version -> String (63601.0) -
Marshal のバージョンを表す文字列を返します。
Marshal のバージョンを表す文字列を返します。 -
Gem
:: InstallUpdateOptions # add _ install _ update _ options (63601.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
Gem
:: LocalRemoteOptions # add _ local _ remote _ options (63601.0) -
オプション --local, --remote, --both を追加します。
オプション --local, --remote, --both を追加します。 -
Gem
:: InvalidSpecificationException (63001.0) -
不正な gemspec に関する例外です。
不正な gemspec に関する例外です。 -
Gem
:: RemoteInstallationCancelled (63001.0) -
???
??? -
Gem
:: Specification # full _ gem _ path -> String (54652.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Specification # installation _ path -> String (54649.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
Gem
:: Installer # installation _ satisfies _ dependency?(dependency) -> bool (54619.0) -
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。
登録されているソースインデックスが与えられた依存関係を
満たすことができる場合は、真を返します。そうでない場合は偽を返します。
@param dependency Gem::Dependency のインスタンスを指定します。 -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (54601.0) -
オプション --bulk-threshold を追加します。
オプション --bulk-threshold を追加します。 -
Gem
:: QuickLoader :: GemVersions -> Hash (54601.0) -
prelude.c で定義されている内部用の定数です。
prelude.c で定義されている内部用の定数です。 -
rubygems
/ install _ update _ options (54049.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールを定義したライブラリです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールを定義したライブラリです。 -
rubygems
/ local _ remote _ options (54049.0) -
Gem::Command で使用する --local, --remote オプションのためのモジュールを 定義したライブラリです。
Gem::Command で使用する --local, --remote オプションのためのモジュールを
定義したライブラリです。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (46609.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (46252.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: Package :: TarWriter # add _ file _ simple(name , mode , size) {|io| . . . } -> self (45970.0) -
自身に関連付けられた IO にファイルを追加します。
自身に関連付けられた IO にファイルを追加します。
ブロックを与えると、自身に関連付けられた IO をブロックに渡してブロック
を評価します。
@param name 追加するファイルの名前を指定します。
@param mode 追加するファイルのパーミッションを指定します。
@param size 追加するファイルのサイズを指定します。 -
Gem
:: Package :: TarWriter # add _ file _ simple(name , mode , size) -> self (45670.0) -
自身に関連付けられた IO にファイルを追加します。
自身に関連付けられた IO にファイルを追加します。
ブロックを与えると、自身に関連付けられた IO をブロックに渡してブロック
を評価します。
@param name 追加するファイルの名前を指定します。
@param mode 追加するファイルのパーミッションを指定します。
@param size 追加するファイルのサイズを指定します。 -
Gem
:: Command # get _ one _ optional _ argument -> String (45601.0) -
コマンドラインからオプショナルな引数を取得して返します。
コマンドラインからオプショナルな引数を取得して返します。
@return 一つ以上、指定した場合は最初の値を返します。一つも指定していない場合は nil を返します。 -
Gem
:: Command # handle _ options(args) (45601.0) -
与えられた引数のリストをパースして結果を記録します。
与えられた引数のリストをパースして結果を記録します。
@param args 引数のリストを指定します。 -
Gem
:: DependencyInstaller :: DEFAULT _ OPTIONS -> Hash (45601.0) -
自身を初期化する際に使用するデフォルトのオプションです。
自身を初期化する際に使用するデフォルトのオプションです。
:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al... -
Gem
:: Installer # build _ extensions (45601.0) -
拡張ライブラリをビルドします。
拡張ライブラリをビルドします。
拡張ライブラリをビルドするためのファイルタイプとして有効であるのは、
extconf.rb, configure script, Rakefile, mkmf_files です。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (45349.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Gem
:: LocalRemoteOptions # add _ proxy _ option (45301.0) -
オプション --http-proxy を追加します。
オプション --http-proxy を追加します。 -
Gem
:: LocalRemoteOptions # add _ source _ option (45301.0) -
オプション --source を追加します。
オプション --source を追加します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (45301.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: LocalRemoteOptions # local? -> bool (45301.0) -
ローカルの情報を取得する場合は真を返します。 そうでない場合は偽を返します。
ローカルの情報を取得する場合は真を返します。
そうでない場合は偽を返します。 -
Gem
:: DefaultUserInteraction (45049.0) -
このモジュールはデフォルトの Gem::UserInteraction を定義しています。
このモジュールはデフォルトの Gem::UserInteraction を定義しています。 -
Gem
:: DependencyRemovalException (45049.0) -
Gem を削除出来なかった場合に使用する例外です。
Gem を削除出来なかった場合に使用する例外です。 -
Gem
:: InstallUpdateOptions (45049.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールです。 -
Gem
:: LocalRemoteOptions (45049.0) -
Gem::Command で使用する --local, --remote オプションのためのモジュールです。
Gem::Command で使用する --local, --remote オプションのためのモジュールです。 -
Gem
:: Package :: ClosedIO (45049.0) -
既に閉じている IO を操作した場合に発生する例外です。
既に閉じている IO を操作した場合に発生する例外です。 -
Gem
:: Package :: NonSeekableIO (45049.0) -
シークできない IO に対してシーク使用とした場合に発生する例外です。
シークできない IO に対してシーク使用とした場合に発生する例外です。 -
Gem
:: EndOfYAMLException (45001.0) -
YAML データが不正である場合に使用する例外です。
YAML データが不正である場合に使用する例外です。 -
Gem
:: FileOperations (45001.0) -
このクラスは FileUtils のラッパーです。
このクラスは FileUtils のラッパーです。
ロギングの機能を追加しています。 -
Gem
:: FilePermissionError (45001.0) -
ファイルの権限に関する例外です。
ファイルの権限に関する例外です。 -
Gem
:: Installer :: ExtensionBuildError (45001.0) -
拡張ライブラリをビルド中にエラーが発生した場合に発生します。
拡張ライブラリをビルド中にエラーが発生した場合に発生します。 -
Gem
:: RemoteInstallationSkipped (45001.0) -
???
??? -
Gem
:: OldFormat . from _ io(io , gem _ path = & # 39;(io)& # 39;) -> Gem :: OldFormat (38002.0) -
Gem ファイルからデータを読み込んだ IO を受け取り、自身を初期化して返します。
Gem ファイルからデータを読み込んだ IO を受け取り、自身を初期化して返します。
@param io Gem パッケージの内容を読み込んだ IO オブジェクトを指定します。
@param gem_path Gem ファイルのパスを指定します。 -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (37657.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (37501.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (37201.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。
省略すると StandardError を使用します。 -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (37159.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
:: Installer # install -> Gem :: Specification (37150.0) -
Gem をインストールします。
Gem をインストールします。
以下のディレクトリ構造で Gem をインストールします。
@gem_home/
cache/<gem-version>.gem #=> インストールした Gem のコピー
gems/<gem-version>/... #=> インストール時に展開したファイル
specifications/<gem-version>.gemspec #=> gemspec ファイル
@return ロードされた Gem::Specification のインスタンスを返します。
@r... -
Gem
:: DependencyInstaller # install(dep _ or _ name , version = Gem :: Requirement . default) -> Array (37054.0) -
指定された Gem とその依存する Gem を全てインストールします。
指定された Gem とその依存する Gem を全てインストールします。
@param dep_or_name Gem の名前か Gem::Dependency のインスタンスを指定します。
@param version バージョンに関する条件を指定します。
@return このメソッドでインストールした Gem のリストを返します。 -
Gem
:: Version # release -> Gem :: Version (37042.0) -
self をリリースバージョンにした Gem::Version オブジェクトを返します。
self をリリースバージョンにした Gem::Version オブジェクトを返します。
プレリリースではないバージョンであれば self を返します。
//emlist[例][ruby]{
Gem::Version.new('1.2.0a').release # => #<Gem::Version "1.2.0">
Gem::Version.new('1.2.0').release # => #<Gem::Version "1.2.0">
//}
@see Gem::Version#prerelease? -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (36952.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Array#find_all -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (36940.0) -
YAML ファイルから gemspec をロードします。
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification . _ load(str) -> Gem :: Specification (36904.0) -
マーシャルされたデータをロードするためのメソッドです。
マーシャルされたデータをロードするためのメソッドです。
@param str マーシャルされたデータを指定します。 -
Gem
:: Specification . load(filename) -> Gem :: Specification (36904.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename gemspec のファイル名を指定します。
@raise StandardError gemspec ファイル内でこのメソッドを呼んでいる場合に発生します。 -
Gem
:: LoadError # version _ requirement=(version _ requirement) (36703.0) -
ロードに失敗した Gem の必要条件をセットします。
ロードに失敗した Gem の必要条件をセットします。
@param version_requirement Gem::Requirement のインスタンスをセットします。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Specification # platform=(platform) (36703.0) -
この Gem パッケージを使用できるプラットフォームをセットします。
この Gem パッケージを使用できるプラットフォームをセットします。
@param platform この Gem パッケージを使用できるプラットフォームを指定します。
デフォルトは Gem::Platform::RUBY です。
@see Gem::Platform::RUBY -
Gem
:: Specification # files=(files) (36667.0) -
この Gem パッケージに含まれるファイル名の配列をセットします。
この Gem パッケージに含まれるファイル名の配列をセットします。
@param files この Gem パッケージに含まれるファイル名の配列を指定します。 -
Gem
:: Specification # test _ file=(file) (36649.0) -
Gem::Specification#test_files= の単数バージョンです。
Gem::Specification#test_files= の単数バージョンです。 -
Gem
:: Specification # test _ suite _ file=(file) (36649.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。 -
Gem
:: Ext :: ConfigureBuilder . build(extension , directory , dest _ path , results) -> Array (36619.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 (36619.0) -
@todo
@todo
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 (36619.0) -
@todo
@todo
mkrf_conf が存在する場合は、それを実行してから Rake を実行します。
@param extension ファイル名を指定します。
@param directory このメソッドでは使用していません。
@param dest_path ???
@param results コマンドの実行結果を格納します。破壊的に変更されます。
@see Gem::Ext::Builder.make -
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (36601.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>... -
Exception2MessageMapper
# fail(exception _ class = nil , *rest) -> () (36601.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。 -
Exception2MessageMapper
. Fail(klass = E2MM , exception _ class = nil , *rest) -> () (36601.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。 -
Gem
:: Platform # version=(version) (36601.0) -
プラットフォームのバージョンをセットします。
プラットフォームのバージョンをセットします。
@param version プラットフォームのバージョンを指定します。 -
Gem
:: Specification # executable=(executable) (36601.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (36601.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
Gem
:: Specification # test _ files=(files) (36601.0) -
ユニットテストのファイルのリストをセットします。
ユニットテストのファイルのリストをセットします。
@param files ユニットテストのファイルのリストを指定します。 -
Gem
:: Version # eql?(other) -> bool (36457.0) -
self と other の Gem::Version#version のバージョンが等しいとき true を返します。 そうでなければ false を返します。
self と other の Gem::Version#version のバージョンが等しいとき true を返します。
そうでなければ false を返します。
Comparable を include して作られた == と異なり、"1.0" と "1" は異なるものと判定します。
//emlist[][ruby]{
ver0 = Gem::Version.create('1.0') # #<Gem::Version "1.0">
ver1 = Gem::Version.create('1.0') # #<Gem::Version "1.0">
ver2 = Gem::Ver... -
Gem
:: Specification # default _ executable -> String | nil (36397.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # default _ executable=(executable) (36397.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Gem
:: Specification # development _ dependencies -> Array (36397.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # lib _ files -> [String] (36397.0) -
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths 以下にあるファイルのリストを返します。
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths
以下にあるファイルのリストを返します。 -
Gem
:: LoadError # version _ requirement -> Get :: Requirement (36385.0) -
ロードに失敗した Gem の必要条件を返します。
ロードに失敗した Gem の必要条件を返します。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Specification # loaded _ from=(path) (36367.0) -
この Gem パッケージの gemspec がある場所をセットします。
この Gem パッケージの gemspec がある場所をセットします。
@param path この Gem パッケージの gemspec がある場所を指定します。 -
Gem
:: Version # prerelease? -> bool (36355.0) -
self がプレリリースと思われる文字を含むバージョンかどうかを返します。
self がプレリリースと思われる文字を含むバージョンかどうかを返します。
//emlist[例][ruby]{
Gem::Version.new('1.2.0a').prerelease? # => true
Gem::Version.new('1.2.0').prerelease? # => false
//}
@see Gem::Version#release -
Gem
:: Specification # file _ name -> String (36349.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification # files -> [String] (36349.0) -
この Gem パッケージに含まれるファイル名の配列を返します。
この Gem パッケージに含まれるファイル名の配列を返します。 -
Gem
:: Specification # full _ name -> String (36349.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # loaded=(flag) (36349.0) -
この Gem パッケージの gemspec が既にロードされているかどうかをセットします。
この Gem パッケージの gemspec が既にロードされているかどうかをセットします。
この属性は永続化しません。
@param flag 既にロードされている場合は真を指定します。 -
Gem
:: Specification # loaded? -> bool (36349.0) -
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
既にロードされている場合は真を返します。そうでない場合は偽を返します。 -
Gem
:: Specification # loaded _ from -> String (36349.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # normalize -> [String] (36349.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # original _ platform -> String (36349.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。 -
Gem
:: Specification # original _ platform=(platform) (36349.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
@param platform プラットフォームを指定します。 -
Gem
:: Specification # platform -> String (36349.0) -
この Gem パッケージを使用できるプラットフォームを返します。
この Gem パッケージを使用できるプラットフォームを返します。 -
Gem
:: Specification # test _ file -> String (36349.0) -
Gem::Specification#test_files の単数バージョンです。
Gem::Specification#test_files の単数バージョンです。 -
Gem
:: Specification # test _ suite _ file -> String (36349.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification . list -> Array (36349.0) -
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。 -
Gem
:: Version # marshal _ load(array) -> nil (36337.0) -
ダンプされた情報をロードし、自身を破壊的に変更します。
ダンプされた情報をロードし、自身を破壊的に変更します。
//emlist[][ruby]{
version = Gem::Version.new('')
version.marshal_load(["1.2.0a"])
p version # => #<Gem::Version "1.2.0a">
//}
@param array バージョン情報を含む配列を指定します。 -
Gem
:: Specification # original _ name -> String (36319.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # validate -> bool (36319.0) -
必須属性のチェックと自身の基本的な正当性チェックを行います。
必須属性のチェックと自身の基本的な正当性チェックを行います。
チェックにパスした場合は常に true を返します。そうでない場合は例外が発生します。
@raise Gem::InvalidSpecificationException チェックにパスしなかった場合に発生します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (36319.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Version # marshal _ dump -> Array (36319.0) -
完全なオブジェクトではなく、バージョン文字列のみダンプします。
完全なオブジェクトではなく、バージョン文字列のみダンプします。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a').marshal_dump # => ["1.2.0a"]
//} -
Gem
:: Platform # version -> String (36301.0) -
プラットフォームのバージョンを返します。
プラットフォームのバージョンを返します。 -
Gem
:: Specification # assign _ defaults -> () (36301.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # email -> String (36301.0) -
メールアドレスを返します。
メールアドレスを返します。 -
Gem
:: Specification # email=(email) (36301.0) -
メールアドレスをセットします。
メールアドレスをセットします。
@param email メールアドレスを指定します。 -
Gem
:: Specification # executable -> String (36301.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (36301.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。