るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.017秒)

別のキーワード

  1. _builtin =~
  2. string =~
  3. symbol =~
  4. regexp =~
  5. platform =~

検索結果

Gem::Platform#=~(other) -> bool (54310.0)

自身と other のプラットフォームが一致する場合に真を返します。 そうでない場合は、偽を返します。

...合は、偽を返します。

other が文字列の場合は、まず Gem::Platform に変換してから比較を行います。
other が文字列でも Gem::Platform でもない場合は nil を返します。

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

@see Gem::Platform#===...