5件ヒット
[1-5件を表示]
(0.041秒)
クラス
-
Gem
:: Package :: TarHeader (1) -
Gem
:: Platform (1) -
Gem
:: Requirement (1) -
Gem
:: Version (2)
検索結果
先頭5件
-
Gem
:: Version # to _ s -> String (54634.0) -
バージョン情報を文字列として返します。
バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//} -
Gem
:: Requirement # to _ s -> String (54631.0) -
条件を表す文字列を返します。
条件を表す文字列を返します。
//emlist[][ruby]{
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
p req.to_s # => "< 5.0, >= 1.9"
//} -
Gem
:: Package :: TarHeader # to _ s -> String (54613.0) -
ヘッダの情報を文字列として返します。
ヘッダの情報を文字列として返します。 -
Gem
:: Platform # to _ s -> String (54613.0) -
自身にセットされている CPU, OS, バージョンを文字列として返します。
自身にセットされている CPU, OS, バージョンを文字列として返します。 -
Gem
:: Version # version -> String (9334.0) -
バージョン情報を文字列として返します。
バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//}