method

eql?

ruby latest stable - Class: OpenSSL::PKey::EC::Group
eql?(p1)
public

Returns true if the two groups use the same curve and have the same parameters, false otherwise.