method

public_key

ruby latest stable - Class: OpenSSL::PKey::RSA
public_key()
public

Makes new RSA instance containing the public key from the private key.