るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.035秒)
トップページ > クエリ:-[x] > クエリ:<=[x] > バージョン:2.6.0[x] > ライブラリ:ipaddr[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

クラス

検索結果

IPAddr#<=>(other) -> Integer | nil (18607.0)

self と other を比較します。

...self と other を比較します。

@param other 比較対象の IPAddr オブジェクト。

@return self と other のアドレスファミリが一致しない場合は nil を返します。
アドレスファミリが一致する場合は、両方の数値表現を Integer#<=>...