別のキーワード
ライブラリ
- e2mmap (2)
- rubygems (9)
-
rubygems
/ command (5) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency (2) -
rubygems
/ dependency _ installer (3) -
rubygems
/ dependency _ list (2) -
rubygems
/ exceptions (3) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (1) -
rubygems
/ installer (2) -
rubygems
/ package / tar _ input (6) -
rubygems
/ package / tar _ output (3) -
rubygems
/ package / tar _ reader (1) -
rubygems
/ package / tar _ writer (4) -
rubygems
/ remote _ fetcher (2) -
rubygems
/ requirement (4) -
rubygems
/ security (7) -
rubygems
/ server (1) -
rubygems
/ source _ index (7) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ specification (56) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (26) -
rubygems
/ version (4)
クラス
-
Gem
:: Command (5) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Dependency (2) -
Gem
:: DependencyInstaller (3) -
Gem
:: DependencyList (2) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: Format (1) -
Gem
:: Installer (1) -
Gem
:: LoadError (2) -
Gem
:: Package :: TarInput (6) -
Gem
:: Package :: TarOutput (3) -
Gem
:: Package :: TarWriter (1) -
Gem
:: Package :: TarWriter :: BoundedStream (2) -
Gem
:: RemoteFetcher (2) -
Gem
:: Requirement (3) -
Gem
:: Security :: Policy (2) -
Gem
:: Server (1) -
Gem
:: SourceIndex (7) -
Gem
:: SourceInfoCache (2) -
Gem
:: Specification (56) -
Gem
:: StreamUI (10) -
Gem
:: Uninstaller (2) -
Gem
:: Version (4)
モジュール
- Exception2MessageMapper (2)
- Gem (2)
-
Gem
:: DefaultUserInteraction (6) -
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (4) -
Gem
:: QuickLoader (4) -
Gem
:: Security (4) -
Gem
:: UserInteraction (8) - Kernel (1)
キーワード
- === (1)
- =~ (1)
- BoundedStream (1)
-
CURRENT
_ SPECIFICATION _ VERSION (1) -
DEFAULT
_ OPTIONS (1) - DefaultUserInteraction (1)
- Exception (1)
- ExtensionBuildError (1)
- GemNotFoundException (1)
- GemVersions (1)
- InstallUpdateOptions (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 3 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) - OperationNotSupportedError (1)
- RemoteSourceException (1)
- Requirement (2)
- RubyGemsPackageVersion (1)
- RubyGemsVersion (1)
- UnexpectedEOF (1)
- UserInteraction (1)
-
_ dump (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
_ option (1) -
add
_ runtime _ dependency (1) -
add
_ source _ option (1) -
add
_ spec (1) -
add
_ trusted _ cert (1) -
add
_ update _ sources _ option (1) - alert (2)
-
alert
_ error (2) -
alert
_ warning (2) -
array
_ attribute (1) -
array
_ attributes (1) - ask (2)
-
ask
_ yes _ no (2) -
assign
_ defaults (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
- autorequire (1)
- autorequire= (1)
- build (3)
-
build
_ cert (1) -
build
_ extensions (1) -
build
_ self _ signed _ cert (1) - bump (1)
-
calculate
_ integers _ for _ gem _ version (1) -
choose
_ from _ list (2) - close (2)
-
connection
_ for (1) - create (1)
-
def
_ exception (2) -
default
_ executable (1) -
default
_ executable= (1) -
default
_ value (1) -
do
_ rubygems _ update (1) - errs (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
-
find
_ name (2) -
find
_ spec _ by _ name _ and _ version (1) - flush (1)
-
from
_ io (1) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage= (1)
- ins (1)
- install (1)
-
install
_ update _ defaults _ str (1) -
load
_ gemspec (1) -
load
_ specification (1) -
marshal
_ dump (1) - new (6)
-
normalize
_ yaml _ input (1) - open (2)
-
open
_ uri _ or _ path (1) - outs (1)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (1) -
push
_ gem _ version _ on _ load _ path (1) -
remove
_ by _ name (1) -
remove
_ spec (1) -
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ attributes (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
-
rubygems
/ commands / specification _ command (1) -
rubygems
/ exceptions (1) -
rubygems
/ specification (1) -
rubygems
/ user _ interaction (1) -
rubygems
/ version (1) -
rubygems
/ version _ option (1) -
rubygems
_ version (1) -
rubygems
_ version= (1) - run (1)
-
runtime
_ dependencies (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (1)
- search (3)
-
show
_ lookup _ failure (1) -
sign
_ cert (1) - spec (1)
- specification (1)
- summary (1)
- summary= (2)
-
terminate
_ interaction (2) -
test
/ unit (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
to
_ ruby (1) -
trusted
_ cert _ path (1) - ui (2)
- ui= (2)
-
use
_ ui (2) -
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements (1) -
version
_ requirements= (1) - write (1)
-
zipped
_ stream (1)
検索結果
先頭5件
-
Gem
:: RubyGemsPackageVersion -> String (81901.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: RubyGemsVersion -> String (81901.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (73552.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Specification # rubygems _ version=(version) (73297.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。 -
Gem
:: Specification # required _ rubygems _ version=(requirement) (73285.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Specification # rubygems _ version -> String (72949.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (72901.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
rubygems
/ version _ option (72049.0) -
Gem::Command の --version, --platform オプションのためのモジュールを 定義したライブラリです。
Gem::Command の --version, --platform オプションのためのモジュールを
定義したライブラリです。 -
Gem
:: QuickLoader # calculate _ integers _ for _ gem _ version (63904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ gem _ version _ on _ load _ path (63904.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: QuickLoader # push _ all _ highest _ version _ gems _ on _ load _ path (63901.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
Gem
:: InstallUpdateOptions # add _ install _ update _ options (63601.0) -
インストールとアップデートに関するオプションを追加します。
インストールとアップデートに関するオプションを追加します。 -
Gem
:: GemNotFoundException (63049.0) -
Gem が見つからなかった場合の例外です。
Gem が見つからなかった場合の例外です。 -
Kernel
# gem(gem _ name , *version _ requirements) -> bool (55759.0) -
$LOAD_PATH に Ruby Gem を追加します。
$LOAD_PATH に Ruby Gem を追加します。
指定された Gem をロードする前にその Gem が必要とする Gem をロードします。
バージョン情報を省略した場合は、最も高いバージョンの Gem をロードします。
指定された Gem やその Gem が必要とする Gem が見つからなかった場合は
Gem::LoadError が発生します。
バージョンの指定方法に関しては Gem::Version を参照してください。
rubygems ライブラリがライブラリバージョンの衝突を検出しない限り、
gem メソッドは全ての require メソッドよりも前に実行されます。
... -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (55252.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ ruby _ version=(requirement) (54985.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement -
Gem
:: Commands :: UpdateCommand # do _ rubygems _ update(version) (54901.0) -
RubyGems 自体を更新します。
RubyGems 自体を更新します。 -
Gem
:: Specification # full _ gem _ path -> String (54652.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (54601.0) -
オプション --bulk-threshold を追加します。
オプション --bulk-threshold を追加します。 -
Gem
:: LocalRemoteOptions # add _ source _ option (54601.0) -
オプション --source を追加します。
オプション --source を追加します。 -
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (54601.0) -
オプション --update-source を追加します。
オプション --update-source を追加します。 -
Gem
:: QuickLoader :: GemVersions -> Hash (54601.0) -
prelude.c で定義されている内部用の定数です。
prelude.c で定義されている内部用の定数です。 -
rubygems
/ commands / specification _ command (54193.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all ... -
rubygems
/ specification (54085.0) -
Gem パッケージのメタデータを扱うためのライブラリです。
Gem パッケージのメタデータを扱うためのライブラリです。
通常 gemspec ファイルや Rakefile でメタデータを定義します。
例:
spec = Gem::Specification.new do |s|
s.name = 'rfoo'
s.version = '1.0'
s.summary = 'Example gem specification'
...
end -
rubygems
/ install _ update _ options (54049.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールを定義したライブラリです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールを定義したライブラリです。 -
rubygems
/ local _ remote _ options (54049.0) -
Gem::Command で使用する --local, --remote オプションのためのモジュールを 定義したライブラリです。
Gem::Command で使用する --local, --remote オプションのためのモジュールを
定義したライブラリです。 -
rubygems
/ version (54049.0) -
Gem パッケージのバージョンを扱うためのライブラリです。
Gem パッケージのバージョンを扱うためのライブラリです。 -
rubygems
/ exceptions (54001.0) -
RubyGems で使用する例外クラスを定義したライブラリです。
RubyGems で使用する例外クラスを定義したライブラリです。 -
rubygems
/ user _ interaction (54001.0) -
ユーザとのやりとりを行うライブラリです。
ユーザとのやりとりを行うライブラリです。 -
Gem
:: LoadError # version _ requirement=(version _ requirement) (46303.0) -
ロードに失敗した Gem の必要条件をセットします。
ロードに失敗した Gem の必要条件をセットします。
@param version_requirement Gem::Requirement のインスタンスをセットします。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Dependency # version _ requirements=(version _ requirements) (46219.0) -
依存しているバージョンを設定します。
依存しているバージョンを設定します。
@param version_requirements Gem::Requirement のインスタンスを指定します。 -
Gem
:: Dependency # version _ requirements -> Gem :: Requirement (46204.0) -
依存しているバージョンを返します。
依存しているバージョンを返します。 -
Gem
:: LoadError # version _ requirement -> Get :: Requirement (45985.0) -
ロードに失敗した Gem の必要条件を返します。
ロードに失敗した Gem の必要条件を返します。
@see Gem::Requirement, Gem::Dependency#version_requirements -
Gem
:: Command # get _ one _ optional _ argument -> String (45601.0) -
コマンドラインからオプショナルな引数を取得して返します。
コマンドラインからオプショナルな引数を取得して返します。
@return 一つ以上、指定した場合は最初の値を返します。一つも指定していない場合は nil を返します。 -
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
:: UserInteraction # terminate _ interaction(*args) -> () (45301.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。 -
Gem
:: DefaultUserInteraction (45049.0) -
このモジュールはデフォルトの Gem::UserInteraction を定義しています。
このモジュールはデフォルトの Gem::UserInteraction を定義しています。 -
Gem
:: InstallUpdateOptions (45049.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールです。 -
Gem
:: Installer :: ExtensionBuildError (45001.0) -
拡張ライブラリをビルド中にエラーが発生した場合に発生します。
拡張ライブラリをビルド中にエラーが発生した場合に発生します。 -
Gem
:: OperationNotSupportedError (45001.0) -
サポートされていない操作を行った場合に使用する例外です。
サポートされていない操作を行った場合に使用する例外です。 -
Gem
:: RemoteSourceException (45001.0) -
HTTP 経由でネットワークにアクセス出来ない場合に使用する例外です。
HTTP 経由でネットワークにアクセス出来ない場合に使用する例外です。 -
Gem
:: UserInteraction (45001.0) -
デフォルト UI にアクセスしやすくするためのモジュールです。
デフォルト UI にアクセスしやすくするためのモジュールです。
このモジュール経由で呼び出されたメソッドは全て UI の実装クラスへ処理を委譲します。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (37309.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (37270.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。 -
Gem
:: Version # bump -> Gem :: Version (37060.0) -
最後の一桁を切り上げた新しい Gem::Version のインスタンスを返します。
最後の一桁を切り上げた新しい Gem::Version のインスタンスを返します。
ただし、英字のプレリリースの部分は、無視されます。
//emlist[][ruby]{
p Gem::Version.new('5.3.1').bump # => #<Gem::Version "5.4">
p Gem::Version.new('5.3.1.a.1').bump # => #<Gem::Version "5.4">
p Gem::Version.new('5.3.1.3.1').bump # => #<Gem::Version "5.3.1.4">
//} -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (36952.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしているときに発生します。 -
Gem
:: DefaultUserInteraction # ui -> Gem :: ConsoleUI (36922.0) -
デフォルトの UI を返します。
デフォルトの UI を返します。
@see Gem::DefaultUserInteraction.ui -
Gem
:: DefaultUserInteraction . ui -> Gem :: ConsoleUI (36904.0) -
デフォルトの UI を返します。
デフォルトの UI を返します。 -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (36901.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。
省略すると StandardError を使用します。 -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (36901.0) -
exception_name という名前の例外クラスを定義します。
exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用... -
Gem
:: Specification # requirements=(informations) (36649.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
Gem
:: Specification # summary=(summary) (36649.0) -
この Gem パッケージの短い説明をセットします。
この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。 -
Gem
:: DefaultUserInteraction # ui=(new _ ui) (36619.0) -
デフォルトの UI を新しくセットします。
デフォルトの UI を新しくセットします。
@param new_ui 新しい UI を指定します。
@see Gem::DefaultUserInteraction.ui= -
Gem
:: DefaultUserInteraction . ui=(new _ ui) (36619.0) -
デフォルトの UI を新しくセットします。
デフォルトの UI を新しくセットします。
デフォルトの UI を明確にセットしたことがなければ、シンプルなコンソールベースの
Gem::UserInteraction を自動的に使用します。
@param new_ui 新しい UI を指定します。 -
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 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (36619.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: StreamUI # terminate _ interaction(status = 0) -> () (36619.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param status 終了ステータスを指定します。デフォルトは 0 (成功) です。
@raise Gem::SystemExitException このメソッドを呼び出すと必ず発生する例外です。 -
Gem
:: Specification # executable=(executable) (36601.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (36601.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
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 # runtime _ dependencies -> Array (36397.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # require _ path=(path) (36385.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: Version :: Requirement -> Class (36385.0) -
Gem::Requirement のエイリアスです。
Gem::Requirement のエイリアスです。
//emlist[][ruby]{
p Gem::Version::Requirement == Gem::Requirement # => true
//} -
Gem
:: Specification # require _ path -> String (36367.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ paths=(paths) (36367.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (36367.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification . array _ attribute(name) -> () (36367.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification # full _ name -> String (36349.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # has _ test _ suite? -> bool (36349.0) -
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。 -
Gem
:: Specification # has _ unit _ tests? -> bool (36349.0) -
この Gem パッケージがユニットテストを含むかどうか返します。
この Gem パッケージがユニットテストを含むかどうか返します。
真の場合はユニットテストを含みます。そうでない場合は偽を返します。 -
Gem
:: Specification # require _ paths -> [String] (36349.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # requirements -> Array (36349.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # summary -> String (36349.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # test _ suite _ file -> String (36349.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # test _ suite _ file=(file) (36349.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。 -
Gem
:: DefaultUserInteraction # use _ ui(new _ ui) { . . . } (36319.0) -
与えられたブロックを評価している間だけ UI として new_ui を使用します。
与えられたブロックを評価している間だけ UI として new_ui を使用します。
@param new_ui 新しい UI を指定します。
@see Gem::DefaultUserInteraction.use_ui -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (36319.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Gem
:: Version # marshal _ dump -> Array (36319.0) -
完全なオブジェクトではなく、バージョン文字列のみダンプします。
完全なオブジェクトではなく、バージョン文字列のみダンプします。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a').marshal_dump # => ["1.2.0a"]
//} -
Gem
:: DefaultUserInteraction . use _ ui(new _ ui) { . . . } (36301.0) -
与えられたブロックを評価している間だけ UI として new_ui を使用します。
与えられたブロックを評価している間だけ UI として new_ui を使用します。
@param new_ui 新しい UI を指定します。 -
Gem
:: LocalRemoteOptions # accept _ uri _ http (36301.0) -
HTTP の URI を扱えるようにするためのメソッドです。
HTTP の URI を扱えるようにするためのメソッドです。 -
Gem
:: Specification # _ dump -> String (36301.0) -
重要なインスタンス変数のみを Marshal.#dump します。
重要なインスタンス変数のみを Marshal.#dump します。
@see Marshal.#dump -
Gem
:: Specification # assign _ defaults -> () (36301.0) -
全ての属性にデフォルト値をセットします。
全ての属性にデフォルト値をセットします。
これはアクセサメソッドを使用して行われるので、ブロックを用いた特別な初期化も
きちんと実行されます。セットされる値はデフォルト値のコピーです。 -
Gem
:: Specification # author -> String (36301.0) -
作成者の名前を返します。
作成者の名前を返します。 -
Gem
:: Specification # author=(name) (36301.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
Gem
:: Specification # authors -> Array (36301.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # authors=(names) (36301.0) -
作成者の名前の配列をセットします。
作成者の名前の配列をセットします。 -
Gem
:: Specification # autorequire -> String (36301.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (36301.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # executable -> String (36301.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (36301.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # to _ ruby -> String (36301.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Gem
:: Specification . array _ attributes -> Array (36301.0) -
@@array_attributes の複製を返します。
@@array_attributes の複製を返します。
@see Object#dup -
Gem
:: Specification . attribute(name) -> () (36301.0) -
デフォルト値を指定したアクセサを定義するために使用します。
デフォルト値を指定したアクセサを定義するために使用します。
以下の副作用があります。
* クラス変数 @@attributes, @@default_value を変更します。
* 通常の属性書き込みメソッドを定義します。
* デフォルト値を持つ属性読み取りメソッドのように振る舞うメソッドを定義します。 -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (36301.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
既に存在する複数形の属性の単数形バージョンを定義します。
これは単に一つの引数を受け取りそれを配列に追加するようなヘルパーメソッドを定義するということです。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param plural 属性名の複数形を... -
Gem
:: Specification . attribute _ defaults -> Array (36301.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Specification . attribute _ names -> Array (36301.0) -
属性名の配列を返します。
属性名の配列を返します。