108件ヒット
[1-100件を表示]
(0.034秒)
別のキーワード
ライブラリ
- rubygems (36)
-
rubygems
/ dependency (12) -
rubygems
/ requirement (12) -
rubygems
/ specification (36) -
rubygems
/ version (12)
クラス
-
Gem
:: Dependency (12) -
Gem
:: Requirement (12) -
Gem
:: Specification (36) -
Gem
:: Version (12)
モジュール
- Gem (24)
-
Gem
:: QuickLoader (12)
キーワード
-
CURRENT
_ SPECIFICATION _ VERSION (12) - GemVersions (12)
-
NONEXISTENT
_ SPECIFICATION _ VERSION (12) - OPS (12)
- Requirement (12)
- RubyGemsPackageVersion (12)
- RubyGemsVersion (12)
-
SPECIFICATION
_ VERSION _ HISTORY (12) - TYPES (12)
検索結果
先頭5件
-
Gem
:: RubyGemsPackageVersion -> String (21201.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: RubyGemsVersion -> String (21201.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: QuickLoader :: GemVersions -> Hash (15201.0) -
prelude.c で定義されている内部用の定数です。
prelude.c で定義されている内部用の定数です。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (9102.0) -
現在の gemspec のバージョンを表す定数です。
...現在の gemspec のバージョンを表す定数です。... -
Gem
:: Specification :: NONEXISTENT _ SPECIFICATION _ VERSION -> -1 (9102.0) -
明確に指定されていない時の gemspec のバージョンを表します。
...明確に指定されていない時の gemspec のバージョンを表します。... -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (9102.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
...
gemspec ファイルのバージョンの歴史を表す定数です。... -
Gem
:: Version :: Requirement -> Class (6035.0) -
Gem::Requirement のエイリアスです。
...
Gem::Requirement のエイリアスです。
//emlist[][ruby]{
p Gem::Version::Requirement == Gem::Requirement # => true
//}... -
Gem
:: Requirement :: OPS -> Hash (3073.0) -
比較演算子と対応する処理を格納したハッシュです。次の内容と等価です。
...mp },
}.freeze
//}
次のように、Gem::Version どうしを比較します。
//emlist[][ruby]{
p Gem::Requirement::OPS["="].call(Gem::Version.new('3.1'), Gem::Version.new('3.0')) # => false
p Gem::Requirement::OPS["~>"].call(Gem::Version.new('3.1'), Gem::Version.new('3.0')) # => true
//}... -
Gem
:: Dependency :: TYPES -> Array (3013.0) -
有効な依存関係の型を表す配列です。
...有効な依存関係の型を表す配列です。
@see Gem::Specification::CURRENT_SPECIFICATION_VERSION...