別のキーワード
ライブラリ
- e2mmap (16)
-
rake
/ gempackagetask (1) - rubygems (10)
-
rubygems
/ command (11) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency (2) -
rubygems
/ dependency _ installer (4) -
rubygems
/ dependency _ list (3) -
rubygems
/ exceptions (14) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (2) -
rubygems
/ gem _ path _ searcher (3) -
rubygems
/ indexer (4) -
rubygems
/ installer (6) -
rubygems
/ old _ format (2) -
rubygems
/ package (5) -
rubygems
/ package / tar _ header (2) -
rubygems
/ package / tar _ input (6) -
rubygems
/ package / tar _ output (3) -
rubygems
/ package / tar _ reader (3) -
rubygems
/ package / tar _ writer (14) -
rubygems
/ platform (2) -
rubygems
/ remote _ fetcher (4) -
rubygems
/ requirement (4) -
rubygems
/ security (7) -
rubygems
/ server (1) -
rubygems
/ source _ index (7) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ spec _ fetcher (1) -
rubygems
/ specification (121) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (26) -
rubygems
/ version (14) -
rubygems
/ version _ option (3)
クラス
-
Gem
:: Command (11) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Dependency (2) -
Gem
:: DependencyInstaller (4) -
Gem
:: DependencyList (3) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: FileOperations (1) -
Gem
:: Format (2) -
Gem
:: GemPathSearcher (3) -
Gem
:: Indexer (4) -
Gem
:: Installer (5) -
Gem
:: LoadError (2) -
Gem
:: OldFormat (2) -
Gem
:: Package :: TarHeader (2) -
Gem
:: Package :: TarInput (6) -
Gem
:: Package :: TarOutput (3) -
Gem
:: Package :: TarReader (2) -
Gem
:: Package :: TarWriter (8) -
Gem
:: Package :: TarWriter :: BoundedStream (2) -
Gem
:: Package :: TarWriter :: RestrictedStream (2) -
Gem
:: Platform (2) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (3) -
Gem
:: Security :: Policy (2) -
Gem
:: Server (1) -
Gem
:: SourceIndex (7) -
Gem
:: SourceInfoCache (2) -
Gem
:: SpecFetcher (1) -
Gem
:: Specification (120) -
Gem
:: StreamUI (10) -
Gem
:: Uninstaller (2) -
Gem
:: Version (13) -
Rake
:: GemPackageTask (1)
モジュール
- Exception2MessageMapper (13)
- Gem (3)
-
Gem
:: DefaultUserInteraction (6) -
Gem
:: InstallUpdateOptions (2) -
Gem
:: LocalRemoteOptions (9) -
Gem
:: Package (1) -
Gem
:: QuickLoader (4) -
Gem
:: Security (4) -
Gem
:: UserInteraction (8) -
Gem
:: VersionOption (2) - Kernel (1)
キーワード
- <=> (1)
- === (1)
- =~ (1)
- BoundedStream (1)
-
CURRENT
_ SPECIFICATION _ VERSION (1) - ClosedIO (1)
-
DEFAULT
_ OPTIONS (1) - DefaultUserInteraction (1)
- DependencyRemovalException (1)
- E2MM (1)
- EndOfYAMLException (1)
- ErrNotRegisteredException (1)
- Exception (2)
- Exception2MessageMapper (1)
- ExtensionBuildError (1)
- Fail (2)
- FetchError (1)
- FileOperations (1)
- FilePermissionError (1)
- FormatException (1)
- GemNotFoundException (1)
- GemNotInHomeException (1)
- GemVersions (1)
- InstallUpdateOptions (1)
- InvalidSpecificationException (1)
- LocalRemoteOptions (1)
-
MARSHAL
_ FIELDS (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) -
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - NonSeekableIO (1)
- OperationNotSupportedError (1)
- Raise (2)
- ReFe (1)
- RemoteInstallationCancelled (1)
- RemoteInstallationSkipped (1)
- RemoteSourceException (1)
- Requirement (2)
- RestrictedStream (1)
- RubyGemsPackageVersion (1)
- RubyGemsVersion (1)
-
SPECIFICATION
_ VERSION _ HISTORY (1) - Specification (1)
- SpecificationCommand (1)
- SystemExitException (1)
- TODAY (1)
- UnexpectedEOF (1)
- UserInteraction (1)
- VerificationError (1)
- Version (1)
- VersionOption (1)
-
_ dump (1) -
_ load (1) - abbreviate (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
_ spec (1) -
add
_ trusted _ cert (1) -
add
_ update _ sources _ option (1) -
add
_ version _ 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)
- bind (1)
- bindir (1)
- bindir= (1)
- both? (1)
- build (3)
-
build
_ cert (1) -
build
_ extensions (1) -
build
_ self _ signed _ cert (1) - bump (1)
-
calculate
_ integers _ for _ gem _ version (1) -
cert
_ chain (1) -
cert
_ chain= (1) -
check
_ closed (1) -
choose
_ from _ list (2) - close (2)
- compress (1)
-
connection
_ for (1) - correct? (1)
- create (1)
- date (1)
- date= (1)
-
def
_ exception (2) -
default
_ executable (1) -
default
_ executable= (1) -
default
_ value (1) - dependencies (1)
-
dependency
_ order (1) -
dependent
_ gems (1) - description (2)
- description= (1)
-
development
_ dependencies (1) -
do
_ rubygems _ update (1) - email (1)
- email= (1)
- eql? (1)
- errs (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
-
extend
_ object (1) - extensions (1)
- extensions= (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 (1)
-
from
_ io (2) -
from
_ yaml (1) -
full
_ gem _ path (1) -
full
_ name (1) -
gem
_ spec (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) - homepage (1)
- homepage= (1)
-
init
_ gemspecs (1) - ins (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)
-
mark
_ version (1) -
marshal
_ dump (1) -
marshal
_ load (1) -
marshal
_ version (1) - mkdir (1)
- name (1)
- name= (1)
- new (13)
- normalize (1)
-
normalize
_ yaml _ input (1) - open (3)
-
open
_ uri _ or _ path (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - outs (1)
-
overwrite
_ accessor (1) - paranoid (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
_ option (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)
- reset (1)
- rewind (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) - sanitize (1)
-
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (1)
- search (3)
-
show
_ lookup _ failure (1) -
sign
_ cert (1) -
signing
_ key (1) -
signing
_ key= (1) - spec (4)
- specification (1)
-
specification
_ version (1) -
specification
_ version= (1) - summary (1)
- summary= (2)
-
terminate
_ interaction (2) -
test
/ unit (1) -
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
to
_ ruby (1) -
to
_ s (1) -
trusted
_ cert _ path (1) - ui (2)
- ui= (2)
-
use
_ ui (2) - validate (1)
- version (4)
- version= (2)
-
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements (1) -
version
_ requirements= (1) -
warn
_ legacy (1) - write (2)
-
yaml
_ initialize (1) -
zipped
_ stream (1)
検索結果
先頭5件
-
Gem
:: FilePermissionError (27001.0) -
ファイルの権限に関する例外です。
ファイルの権限に関する例外です。 -
Gem
:: FormatException (27001.0) -
フォーマットに関する例外です。
フォーマットに関する例外です。 -
Gem
:: Installer :: ExtensionBuildError (27001.0) -
拡張ライブラリをビルド中にエラーが発生した場合に発生します。
拡張ライブラリをビルド中にエラーが発生した場合に発生します。 -
Gem
:: OperationNotSupportedError (27001.0) -
サポートされていない操作を行った場合に使用する例外です。
サポートされていない操作を行った場合に使用する例外です。 -
Gem
:: RemoteInstallationCancelled (27001.0) -
???
??? -
Gem
:: RemoteInstallationSkipped (27001.0) -
???
??? -
Gem
:: RemoteSourceException (27001.0) -
HTTP 経由でネットワークにアクセス出来ない場合に使用する例外です。
HTTP 経由でネットワークにアクセス出来ない場合に使用する例外です。 -
Gem
:: Security :: Exception (27001.0) -
セキュリティ関連のエラーを表します。
セキュリティ関連のエラーを表します。 -
Gem
:: SystemExitException (27001.0) -
何らかの理由でコマンドを実行出来ない場合に使用する例外です。
何らかの理由でコマンドを実行出来ない場合に使用する例外です。 -
Gem
:: UserInteraction (27001.0) -
デフォルト UI にアクセスしやすくするためのモジュールです。
デフォルト UI にアクセスしやすくするためのモジュールです。
このモジュール経由で呼び出されたメソッドは全て UI の実装クラスへ処理を委譲します。 -
Gem
:: Version . new(version) -> Gem :: Version (19042.0) -
バージョンを表す文字列から、Gem::Version インスタンスを作成します。
バージョンを表す文字列から、Gem::Version インスタンスを作成します。
引数のバージョンを表す文字列とは、 数字かASCII文字の連続であり、ドットで区切られたものです。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a') # => #<Gem::Version "1.2.0a">
# Ruby 2.4.1より、空白文字以外の文字がない場合、バージョンは "0" になります。
p Gem::Version.new(' ') #=> #<Gem::Version "0">
//}
@param version
@raise Argum... -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (18859.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
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (18799.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 _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (18799.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
:: Version . create(input) -> Gem :: Version | nil (18778.0) -
Gem::Version のインスタンスを作成するためのファクトリメソッドです。
Gem::Version のインスタンスを作成するためのファクトリメソッドです。
//emlist[][ruby]{
ver1 = Gem::Version.create('1.3.17') # => #<Gem::Version "1.3.17">
ver2 = Gem::Version.create(ver1) # => #<Gem::Version "1.3.17">
ver3 = Gem::Version.create(nil) # => nil
//}
@param input Gem::Version のインスタンスか文字列を指定します。
@r... -
Gem
:: Version # bump -> Gem :: Version (18760.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
:: Version # release -> Gem :: Version (18742.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(path) -> Gem :: Specification | nil (18652.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Array#find -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (18652.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Array#find_all -
Gem
:: Specification . from _ yaml(input) -> Gem :: Specification (18640.0) -
YAML ファイルから gemspec をロードします。
YAML ファイルから gemspec をロードします。
YAML ファイルから Gem::Specification をロードすると、通常の Ruby オブジェクトの
初期化ルーチン (#initialize) を通りません。このメソッドは初期化ルーチンの一部を実行し、
gemspec のバージョンチェックも行います。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: FileOperations . new(logger = nil) -> Gem :: FileOperations (18604.0) -
このクラスを初期化します。
このクラスを初期化します。
@param logger ロガーを指定します。ロガーは log という名前のメソッドを持っている必要があります。 -
Gem
:: Specification . _ load(str) -> Gem :: Specification (18604.0) -
マーシャルされたデータをロードするためのメソッドです。
マーシャルされたデータをロードするためのメソッドです。
@param str マーシャルされたデータを指定します。 -
Gem
:: Specification . load(filename) -> Gem :: Specification (18604.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename gemspec のファイル名を指定します。
@raise StandardError gemspec ファイル内でこのメソッドを呼んでいる場合に発生します。 -
Gem
:: Version . correct?(version) -> 0 | nil (18355.0) -
version が正しいバージョンであれば 0 を返します。そうでなければ nil を返します。
version が正しいバージョンであれば 0 を返します。そうでなければ nil を返します。
//emlist[][ruby]{
p Gem::Version.correct?("9.1") # => 0
p Gem::Version.correct?("incorrect") # => nil
p Gem::Version.correct?(nil) # => 0
//}
@param version バージョンを文字列か数値で指定します。 -
Gem
:: Specification # requirements=(informations) (18349.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
Gem
:: DefaultUserInteraction # ui -> Gem :: ConsoleUI (18322.0) -
デフォルトの UI を返します。
デフォルトの UI を返します。
@see Gem::DefaultUserInteraction.ui -
Gem
:: DefaultUserInteraction . ui -> Gem :: ConsoleUI (18304.0) -
デフォルトの UI を返します。
デフォルトの UI を返します。 -
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (18301.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>... -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (18301.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>... -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (18301.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
すでに存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録する例外クラスを指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます... -
Exception2MessageMapper
# fail(exception _ class = nil , *rest) -> () (18301.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。 -
Exception2MessageMapper
. Fail(klass = E2MM , exception _ class = nil , *rest) -> () (18301.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。 -
Exception2MessageMapper
. Raise(klass = E2MM , exception _ class = nil , *rest) -> () (18301.0) -
登録されている情報を使用して、例外を発生させます。
登録されている情報を使用して、例外を発生させます。
@param klass 一階層上となるクラス名を指定します。
@param exception_class 例外クラス。
@param rest メッセージに埋め込む値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。 -
Exception2MessageMapper
. def _ e2message(klass , exception _ class , message _ format) -> Class (18301.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
すでに存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。
@param klass 一階層上となるクラス名を指定します。
@param exception_class メッセージを登録する例外クラスを指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@return exception_class を返します。 -
Gem
:: Version # <=>(other) -> -1 | 0 | 1 | nil (18193.0) -
self と other を比較して、self が小さい時に -1、 等しい時に 0、大きい時に 1 の整数を返します。 また、other が Gem::Version ではなく比較できないとき、 nil を返します。
self と other を比較して、self が小さい時に -1、
等しい時に 0、大きい時に 1 の整数を返します。
また、other が Gem::Version ではなく比較できないとき、 nil を返します。
//emlist[][ruby]{
p Gem::Version.new("3.9.0") <=> Gem::Version.new("3.10.0") # => -1
p Gem::Version.new("3.0.0") <=> Gem::Version.new("3.0.0") # => 0
p Gem::Version.new("3.0.0") <=> G... -
Gem
:: Version # eql?(other) -> bool (18157.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 # platform=(platform) (18103.0) -
この Gem パッケージを使用できるプラットフォームをセットします。
この Gem パッケージを使用できるプラットフォームをセットします。
@param platform この Gem パッケージを使用できるプラットフォームを指定します。
デフォルトは Gem::Platform::RUBY です。
@see Gem::Platform::RUBY -
Gem
:: Specification # default _ executable -> String | nil (18097.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # default _ executable=(executable) (18097.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Gem
:: Specification # development _ dependencies -> Array (18097.0) -
この Gem が依存している Gem のリストを返します。
この Gem が依存している Gem のリストを返します。 -
Gem
:: Specification # lib _ files -> [String] (18097.0) -
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths 以下にあるファイルのリストを返します。
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths
以下にあるファイルのリストを返します。 -
Gem
:: Specification # runtime _ dependencies -> Array (18097.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
Gem
:: Specification # require _ path=(path) (18085.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
Gem
:: Version :: Requirement -> Class (18085.0) -
Gem::Requirement のエイリアスです。
Gem::Requirement のエイリアスです。
//emlist[][ruby]{
p Gem::Version::Requirement == Gem::Requirement # => true
//} -
Gem
:: Specification # dependencies -> Array (18067.0) -
依存している Gem のリストを返します。
依存している Gem のリストを返します。
@see Gem::Dependency -
Gem
:: Specification # files=(files) (18067.0) -
この Gem パッケージに含まれるファイル名の配列をセットします。
この Gem パッケージに含まれるファイル名の配列をセットします。
@param files この Gem パッケージに含まれるファイル名の配列を指定します。 -
Gem
:: Specification # homepage=(uri) (18067.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI をセットします。
@param uri この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を指定します。 -
Gem
:: Specification # loaded _ from=(path) (18067.0) -
この Gem パッケージの gemspec がある場所をセットします。
この Gem パッケージの gemspec がある場所をセットします。
@param path この Gem パッケージの gemspec がある場所を指定します。 -
Gem
:: Specification # name=(name) (18067.0) -
この Gem パッケージの名前をセットします。
この Gem パッケージの名前をセットします。
@param name この Gem パッケージの名前を指定します。 -
Gem
:: Specification # require _ path -> String (18067.0) -
Gem::Specification#require_paths の単数バージョンです。
Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths -
Gem
:: Specification # require _ paths=(paths) (18067.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (18067.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification . array _ attribute(name) -> () (18067.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Version # prerelease? -> bool (18055.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
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (18049.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Gem
:: Specification # file _ name -> String (18049.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification # files -> [String] (18049.0) -
この Gem パッケージに含まれるファイル名の配列を返します。
この Gem パッケージに含まれるファイル名の配列を返します。 -
Gem
:: Specification # full _ name -> String (18049.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。 -
Gem
:: Specification # has _ test _ suite? -> bool (18049.0) -
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。
このメソッドは非推奨です。 Gem::Specification#has_unit_tests? を使用してください。 -
Gem
:: Specification # has _ unit _ tests? -> bool (18049.0) -
この Gem パッケージがユニットテストを含むかどうか返します。
この Gem パッケージがユニットテストを含むかどうか返します。
真の場合はユニットテストを含みます。そうでない場合は偽を返します。 -
Gem
:: Specification # homepage -> String (18049.0) -
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。
この Gem パッケージを作成しているプロジェクトか作成者のウェブサイトの URI を返します。 -
Gem
:: Specification # loaded=(flag) (18049.0) -
この Gem パッケージの gemspec が既にロードされているかどうかをセットします。
この Gem パッケージの gemspec が既にロードされているかどうかをセットします。
この属性は永続化しません。
@param flag 既にロードされている場合は真を指定します。 -
Gem
:: Specification # loaded? -> bool (18049.0) -
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
この Gem パッケージの gemspec が既にロードされているかどうかを返します。
既にロードされている場合は真を返します。そうでない場合は偽を返します。 -
Gem
:: Specification # loaded _ from -> String (18049.0) -
この Gem パッケージの gemspec がある場所を返します。
この Gem パッケージの gemspec がある場所を返します。
この属性は永続化されません。 -
Gem
:: Specification # name -> String (18049.0) -
この Gem パッケージの名前を返します。
この Gem パッケージの名前を返します。 -
Gem
:: Specification # normalize -> [String] (18049.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # original _ platform -> String (18049.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。 -
Gem
:: Specification # original _ platform=(platform) (18049.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
@param platform プラットフォームを指定します。 -
Gem
:: Specification # platform -> String (18049.0) -
この Gem パッケージを使用できるプラットフォームを返します。
この Gem パッケージを使用できるプラットフォームを返します。 -
Gem
:: Specification # require _ paths -> [String] (18049.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。 -
Gem
:: Specification # requirements -> Array (18049.0) -
この Gem パッケージを動作させるのに必要な条件を返します。 これはユーザのためのシンプルな情報です。
この Gem パッケージを動作させるのに必要な条件を返します。
これはユーザのためのシンプルな情報です。 -
Gem
:: Specification # signing _ key -> String (18049.0) -
この Gem パッケージの署名に使用するキーを返します。
この Gem パッケージの署名に使用するキーを返します。 -
Gem
:: Specification # signing _ key=(key) (18049.0) -
この Gem パッケージの署名に使用するキーをセットします。
この Gem パッケージの署名に使用するキーをセットします。
@param key 署名に使用するキーを指定します。 -
Gem
:: Specification # summary -> String (18049.0) -
この Gem パッケージの短い説明を返します。
この Gem パッケージの短い説明を返します。 -
Gem
:: Specification # summary=(summary) (18049.0) -
この Gem パッケージの短い説明をセットします。
この Gem パッケージの短い説明をセットします。
@param summary 短い説明を指定します。 -
Gem
:: Specification # test _ file -> String (18049.0) -
Gem::Specification#test_files の単数バージョンです。
Gem::Specification#test_files の単数バージョンです。 -
Gem
:: Specification # test _ file=(file) (18049.0) -
Gem::Specification#test_files= の単数バージョンです。
Gem::Specification#test_files= の単数バージョンです。 -
Gem
:: Specification # test _ suite _ file -> String (18049.0) -
この属性は非推奨です。 Gem::Specification#test_files を使用してください。
この属性は非推奨です。 Gem::Specification#test_files を使用してください。 -
Gem
:: Specification # test _ suite _ file=(file) (18049.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。 -
Gem
:: Specification . list -> Array (18049.0) -
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。
実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。 -
Gem
:: Version :: Requirement (18049.0) -
Alias of Gem::Requirement
Alias of Gem::Requirement -
Gem
:: Version # marshal _ load(array) -> nil (18037.0) -
ダンプされた情報をロードし、自身を破壊的に変更します。
ダンプされた情報をロードし、自身を破壊的に変更します。
//emlist[][ruby]{
version = Gem::Version.new('')
version.marshal_load(["1.2.0a"])
p version # => #<Gem::Version "1.2.0a">
//}
@param array バージョン情報を含む配列を指定します。 -
Gem
:: DefaultUserInteraction # ui=(new _ ui) (18019.0) -
デフォルトの UI を新しくセットします。
デフォルトの UI を新しくセットします。
@param new_ui 新しい UI を指定します。
@see Gem::DefaultUserInteraction.ui= -
Gem
:: DefaultUserInteraction # use _ ui(new _ ui) { . . . } (18019.0) -
与えられたブロックを評価している間だけ UI として new_ui を使用します。
与えられたブロックを評価している間だけ UI として new_ui を使用します。
@param new_ui 新しい UI を指定します。
@see Gem::DefaultUserInteraction.use_ui -
Gem
:: DefaultUserInteraction . ui=(new _ ui) (18019.0) -
デフォルトの UI を新しくセットします。
デフォルトの UI を新しくセットします。
デフォルトの UI を明確にセットしたことがなければ、シンプルなコンソールベースの
Gem::UserInteraction を自動的に使用します。
@param new_ui 新しい UI を指定します。 -
Gem
:: Specification # has _ rdoc? -> bool (18019.0) -
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
真の場合は RDoc を生成しせん。偽の場合は RDoc を生成します。
@see Gem::Specification#has_rdoc -
Gem
:: Specification # original _ name -> String (18019.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Gem
:: Specification # validate -> bool (18019.0) -
必須属性のチェックと自身の基本的な正当性チェックを行います。
必須属性のチェックと自身の基本的な正当性チェックを行います。
チェックにパスした場合は常に true を返します。そうでない場合は例外が発生します。
@raise Gem::InvalidSpecificationException チェックにパスしなかった場合に発生します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (18019.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (18019.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Gem
:: Version # marshal _ dump -> Array (18019.0) -
完全なオブジェクトではなく、バージョン文字列のみダンプします。
完全なオブジェクトではなく、バージョン文字列のみダンプします。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a').marshal_dump # => ["1.2.0a"]
//} -
Gem
:: Version # to _ s -> String (18019.0) -
バージョン情報を文字列として返します。
バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//} -
Exception2MessageMapper
# bind(cl) -> () (18001.0) -
@todo
@todo
@param cl xxx -
Exception2MessageMapper
. e2mm _ message(klass , exp) -> String | nil (18001.0) -
@todo
@todo
@param klass
@param exp -
Exception2MessageMapper
. extend _ object(cl) -> () (18001.0) -
@todo
@todo
@param cl -
Exception2MessageMapper
. message(klass , exp) -> String | nil (18001.0) -
@todo
@todo
@param klass
@param exp -
Exception2MessageMapper
:: E2MM (18001.0) -
Alias of Exception2MessageMapper
Alias of Exception2MessageMapper -
Gem
:: DefaultUserInteraction . use _ ui(new _ ui) { . . . } (18001.0) -
与えられたブロックを評価している間だけ UI として new_ui を使用します。
与えられたブロックを評価している間だけ UI として new_ui を使用します。
@param new_ui 新しい UI を指定します。 -
Gem
:: LocalRemoteOptions # accept _ uri _ http (18001.0) -
HTTP の URI を扱えるようにするためのメソッドです。
HTTP の URI を扱えるようにするためのメソッドです。 -
Gem
:: LocalRemoteOptions # both? -> bool (18001.0) -
ローカルとリモートの情報を両方とも取得する場合は真を返します。 そうでない場合は偽を返します。
ローカルとリモートの情報を両方とも取得する場合は真を返します。
そうでない場合は偽を返します。