instance method Hash#equal?
equal?(other) -> bool
-
指定された other が self 自身である場合のみ真を返します。
- [PARAM] other:
- 自身と比較したい Hash オブジェクトを指定します。
p({}.equal?({})) #=> false a = {} p a.equal?(a) #=> true
[SEE_ALSO] Hash#==
class Hash
equal?(other) -> bool
指定された other が self 自身である場合のみ真を返します。
p({}.equal?({})) #=> false a = {} p a.equal?(a) #=> true
[SEE_ALSO] Hash#==