method

eql?

ruby latest stable - Class: OpenStruct
eql?(other)
public

Compares this object and other for equality. An OpenStruct is eql? to other when other is an OpenStruct and the two objects’ Hash tables are eql?.