最速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.0(1)
3.1.0(1)
3.2.0(1)
3.3.0(1)
11件ヒット
[1-11件を表示]
(0.070秒)
トップページ
>
クラス:
Integer
>
:
_builtin
>
:
-
>
:===
別のキーワード
_builtin new
_builtin inspect
_builtin []
_builtin to_s
_builtin each
ライブラリ
ビルトイン
(11)
検索結果
先頭1件
Integer
#
===(other) -> bool
Integer
#
===(other) -> bool
(23201.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0.0
3.1.0
3.2.0
3.3.0
インスタンスメソッド
比較演算子。数値として等しいか判定します。
比較演算子。数値として等しいか判定します。
@param other 比較対象の数値
@return self と other が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 == 2 # => false
1 == 1.0 # => true
//}