method

public_key?

v2_2_9 - 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.