method
new
ruby latest stable - Class:
OpenSSL::SSL::SSLContext
new(version = nil)public
If an argument is given, #ssl_version= is called with the value. Note that this form is deprecated. New applications should use #min_version= and #max_version= as necessary.