Results for: "OptionParser"

Compile a BlockParametersNode node

Compile a ForwardingParameterNode node

Compile a ItParametersNode node

Dispatch enter and leave events for BlockParametersNode nodes and continue walking the tree.

Dispatch enter and leave events for ForwardingParameterNode nodes and continue walking the tree.

Dispatch enter and leave events for ItParametersNode nodes and continue walking the tree.

Inspect a BlockParametersNode node.

Inspect a ForwardingParameterNode node.

Inspect a ItParametersNode node.

Copy a BlockParametersNode node

Copy a ForwardingParameterNode node

Copy a ItParametersNode node

No documentation available
No documentation available

Enumerates the outdated local gems yielding the local specification and the latest remote version.

This method may take some time to return as it must check each local gem against the server’s index.

No documentation available

Create a new InterpolatedRegularExpressionNode node.

foo => bar | baz

^^^^^^^^^
No documentation available
No documentation available
No documentation available
No documentation available

Sets the lower bound on the supported SSL/TLS protocol version. The version may be specified by an integer constant named OpenSSL::SSL::*_VERSION, a Symbol, or nil which means “any version”.

Be careful that you don’t overwrite OpenSSL::SSL::OP_NO_{SSL,TLS}v* options by options= once you have called min_version= or max_version=.

Example

ctx = OpenSSL::SSL::SSLContext.new
ctx.min_version = OpenSSL::SSL::TLS1_1_VERSION
ctx.max_version = OpenSSL::SSL::TLS1_2_VERSION

sock = OpenSSL::SSL::SSLSocket.new(tcp_sock, ctx)
sock.connect # Initiates a connection using either TLS 1.1 or TLS 1.2

Sets the upper bound of the supported SSL/TLS protocol version. See min_version= for the possible values.

Sets the SSL/TLS protocol version for the context. This forces connections to use only the specified protocol version. This is deprecated and only provided for backwards compatibility. Use min_version= and max_version= instead.

History

As the name hints, this used to call the SSL_CTX_set_ssl_version() function which sets the SSL method used for connections created from the context. As of Ruby/OpenSSL 2.1, this accessor method is implemented to call min_version= and max_version= instead.

Search took: 14ms  ·  Total Results: 6041