method

eql?

v2_6_3 - Show latest stable - Class: Struct
eql?(p1)
public

Hash equality—other and struct refer to the same hash key if they have the same struct subclass and have equal member values (according to Object#eql?).