るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.007秒)
トップページ > クエリ:bool[x] > ライブラリ:ostruct[x]

別のキーワード

  1. option bool
  2. socket bool
  3. variant vt_bool
  4. win32ole vt_bool
  5. bool socket

クラス

キーワード

検索結果

OpenStruct#==(other) -> bool (103.0)

自身と比較対象のオブジェクトが等しい場合に真を返します。 そうでない場合は、偽を返します。

自身と比較対象のオブジェクトが等しい場合に真を返します。
そうでない場合は、偽を返します。

@param other 比較対象のオブジェクトを指定します。

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

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

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

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

@param other 比較対象のオブジェクトを指定します。