Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rubygems/versionライブラリ > Gem::Versionクラス > <=>

instance method Gem::Version#<=>

self <=> other -> -1 | 0 | 1 | nil
[PARAM] other:
比較対象の Gem::Version を指定します。