るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.008秒)
トップページ > クエリ:coerce[x] > バージョン:2.4.0[x] > クエリ:===[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. _builtin coerce
  2. matrix coerce
  3. bigdecimal coerce
  4. bn coerce
  5. uri coerce

ライブラリ

クラス

検索結果

BigDecimal#===(other) -> bool (45322.0)

self が other と等しい場合に true を、そうでない場合に false を返します。

self が other と等しい場合に true を、そうでない場合に false を返します。

それぞれの値は BigDecimal#coerce で変換して比較される場合があります。

//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('1.0') == 1.0 # => true
//}