method

new

ruby latest stable - Class: OpenSSL::SSL::Session
new(p1)
public

Creates a new Session object from an instance of SSLSocket or DER/PEM encoded String.