method

private_key?

v1_9_3_125 - Show latest stable - Class: OpenSSL::PKey::EC
private_key?()
public

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