self <=> other -> -1 | 0 | 1 | nil[permalink][rdoc][edit]-
self と other を比較します。
- [PARAM]
other: - 比較対象の IPAddr オブジェクト。
- [RETURN]
- self と other のアドレスファミリが一致しない場合は nil を返します。アドレスファミリが一致する場合は、両方の数値表現を Integer#<=> で比較した結果を返します。
[SEE_ALSO] Integer#<=>
- [PARAM]