るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. _builtin hash
  2. hash []
  3. matrix hash
  4. dbm to_hash
  5. _builtin to_hash

ライブラリ

検索結果

OpenStruct#eql?(other) -> bool (54340.0)

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

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

具体的には other が OpenStruct オブジェクトかそのサブクラスでかつ、
self の各要素を保持した内部の Hash が eql? で比較して等しい場合に
true...