method

public_key?

v2_1_10 - Show latest stable - Class: OpenSSL::PKey::EC
public_key?()
public

Both public_key? and private_key? may return false at the same time unlike other PKey classes.