This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

compare?

        # OpenSSL::PKey::PKey.compare?

(from ruby core)
### Implementation from PKey
---
    pkey.compare?(another_pkey) -> true | false

---

Used primarily to check if an OpenSSL::X509::Certificate#public_key
compares to its private key.

## Example
    x509 = OpenSSL::X509::Certificate.new(pem_encoded_certificate)
    rsa_key = OpenSSL::PKey::RSA.new(pem_encoded_private_key)

    rsa_key.compare?(x509.public_key) => true | false



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.