最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
11件ヒット
[1-11件を表示]
(0.105秒)
トップページ
>
:
インスタンスメソッド
>
:
-
>
:
addr
>
:<=>
別のキーワード
_builtin -
open-uri open
irb/input-method new
irb/input-method gets
matrix -
ライブラリ
ipaddr
(11)
クラス
IPAddr
(11)
検索結果
先頭1件
IPAddr
#
<=>(other) -> Integer | nil
IPAddr
#
<=>(other) -> Integer | nil
(21201.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
self と other を比較します。
...
の IP
Addr
オブジェクト。
@return self と other のアドレスファミリが一致しない場合は nil を返します。
アドレスファミリが一致する場合は、両方の数値表現を Integer#
<=>
で比較した結果を返します。
@see Integer#
<=>
...
IPAddr