996件ヒット
[1-100件を表示]
(0.238秒)
別のキーワード
ライブラリ
- ビルトイン (119)
- bigdecimal (1)
- etc (22)
-
net
/ http (55) - openssl (11)
- optparse (44)
-
rake
/ packagetask (11) -
rexml
/ document (66) - rubygems (33)
-
rubygems
/ commands / update _ command (11) -
rubygems
/ installer (11) -
rubygems
/ requirement (77) -
rubygems
/ specification (66) -
rubygems
/ version (154) - strscan (11)
-
webrick
/ ssl (11) - win32ole (11)
- zlib (11)
クラス
- BigDecimal (1)
-
Encoding
:: UndefinedConversionError (11) -
Gem
:: Commands :: UpdateCommand (11) -
Gem
:: Installer (11) -
Gem
:: Requirement (77) -
Gem
:: Specification (66) -
Gem
:: Version (143) -
Net
:: HTTP (44) -
Net
:: HTTPResponse (11) - Object (20)
- OptionParser (22)
-
REXML
:: Document (33) -
REXML
:: Instruction (22) -
Rake
:: PackageTask (11) -
RubyVM
:: InstructionSequence (11) - StringScanner (11)
- ThreadGroup (11)
- WIN32OLE (11)
モジュール
- Etc (22)
- Gem (22)
- Kernel (44)
- Marshal (22)
- OpenSSL (11)
-
OptionParser
:: Arguable (11) -
WEBrick
:: Config (11) - Zlib (11)
キーワード
-
$ -I (11) -
$ : (11) -
$ LOAD _ PATH (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - <=> (11)
- === (11)
- =~ (11)
- Instruction (11)
-
MAJOR
_ VERSION (11) -
MINOR
_ VERSION (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - OPS (11)
- OptionParser (11)
-
RUBY
_ ENGINE _ VERSION (9) -
RUBY
_ VERSION (11) - Requirement (11)
- RubyGemsPackageVersion (11)
- RubyGemsVersion (11)
- Rubyの起動 (11)
- SSL (11)
- UndefinedConversionError (11)
- VERSION (22)
- bump (11)
- confstr (11)
- content (11)
- correct? (11)
- create (22)
-
do
_ rubygems _ update (11) - encoding (11)
- eql? (11)
-
error
_ char (11) - gem (11)
- get (22)
- getopts (11)
-
http
_ version (11) - install (11)
- irb (11)
- list (11)
-
marshal
_ dump (11) -
marshal
_ load (11) - new (33)
-
ole
_ query _ interface (11) -
on
_ tail (11) - open-uri (11)
- optparse (11)
- parse (11)
- post (22)
- prerelease? (11)
- rake (11)
- release (11)
-
required
_ ruby _ version (11) -
required
_ ruby _ version= (11) -
required
_ rubygems _ version (11) -
required
_ rubygems _ version= (11) -
rexml
/ parsers / ultralightparser (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ specification (11) -
rubygems
/ version (11) -
rubygems
/ version _ option (11) -
rubygems
_ version (11) -
rubygems
_ version= (11) -
satisfied
_ by? (11) -
stand
_ alone? (11) - target (11)
-
to
_ a (11) -
to
_ s (11) - uname (11)
- ver (12)
- version (22)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (9)
検索結果
先頭5件
-
StringScanner
:: Version -> String (33319.0) -
StringScanner クラスのバージョンを文字列で返します。 この文字列は Object#freeze されています。
...StringScanner クラスのバージョンを文字列で返します。
この文字列は Object#freeze されています。
//emlist[例][ruby]{
require 'strscan'
StringScanner::Version # => "0.7.0"
StringScanner::Version.frozen? # => true
//}... -
Gem
:: Version (30042.0) -
文字列で表現されたバージョンを比較可能 (Comparable) にするためのクラスです。
...Comparable) にするためのクラスです。
バージョンを文字列で表したとき、単純に String#<=> で比較すると、
"1.9" のほうが "1.10" よりも大きい(バージョンが高い)ことになってしまい、
正しく判定できません。
Gem::Version はこ....../emlist[文字列での比較と Gem::Version での比較][ruby]{
p "1.9" < "1.10" # => false
p Gem::Version.new("1.9") < Gem::Version.new("1.10") # => true
//}
gem のバージョンを取り扱うためのクラスですが、バージョン表記が RubyGems の流儀
に則っていれば Ruby......Gems とは無関係に使うこともできます。
//emlist[バージョン表記のソートの例][ruby]{
versions = %w[ 1.1 1.10 1.9 1.1.beta9 1.1.beta10 ]
p versions.sort_by{ |v| Gem::Version.new(v) }
# => ["1.1.beta9", "1.1.beta10", "1.1", "1.9", "1.10"]
//}
上の例で、"1.9" と "... -
rubygems
/ version _ option (30016.0) -
Gem::Command の --version, --platform オプションのためのモジュールを 定義したライブラリです。
...Gem::Command の --version, --platform オプションのためのモジュールを
定義したライブラリです。... -
Gem
:: Specification # rubygems _ version=(version) (27608.0) -
この Gem パッケージを作成した RubyGems のバージョンをセットします。 この属性は Gem パッケージが作成された時に自動的にセットされます。
...この Gem パッケージを作成した RubyGems のバージョンをセットします。
この属性は Gem パッケージが作成された時に自動的にセットされます。
@param version RubyGems のバージョンを指定します。... -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (27601.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。... -
Gem
:: Specification # required _ rubygems _ version=(requirement) (27601.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement... -
Gem
:: Specification # rubygems _ version -> String (27401.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
...この Gem パッケージを作成した RubyGems のバージョンを返します。... -
Gem
:: RubyGemsPackageVersion -> String (27400.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: RubyGemsVersion -> String (27400.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (24618.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
...この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。...