るりまサーチ

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

別のキーワード

  1. fiddle build_ruby_platform
  2. platform ==
  3. platform os
  4. platform ===

ライブラリ

クラス

検索結果

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

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

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

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

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

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