self <=> other -> Integer | nil[permalink][rdoc]-
self と other を比較して、self が大きい時に 1 等しい時に 0、小さい時に -1 の整数を返します。
- [PARAM] other:
- 比較対象の Gem::Version のインスタンスを指定します。
このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
self <=> other -> Integer | nil[permalink][rdoc]self と other を比較して、self が大きい時に 1 等しい時に 0、小さい時に -1 の整数を返します。