Ends the resolution process @return [void]
The X509
certificate chain for this socket’s peer.
Configures store to look up CA certificates from the system default certificate store as needed basis. The location of the store can usually be determined by:
OpenSSL::X509::DEFAULT_CERT_FILE
OpenSSL::X509::DEFAULT_CERT_DIR
Establish the OpenSSL::SSL::SSLContext
with the configuration parameters provided.
Called when the current thread exits. The scheduler is expected to implement this method in order to allow all waiting fibers to finalize their execution.
The suggested pattern is to implement the main event loop in the close
method.
Implementation of the Fiber.schedule
. The method is expected to immediately run passed block of code in a separate non-blocking fiber, and to return that Fiber
.
Minimal suggested implementation is:
def fiber(&block) Fiber.new(blocking: false, &block).tap(&:resume) end
Returns a non-lazy Enumerator
converted from the lazy enumerator.
Like Enumerable#select
, but chains operation to be lazy-evaluated.
Like Enumerable#select
, but chains operation to be lazy-evaluated.
Like Enumerable#drop
, but chains operation to be lazy-evaluated.
Returns the first number in this arithmetic sequence, or an array of the first n
elements.
Returns the base64 encoded hash value of a given string. The return value is properly padded with ‘=’ and contains no line feeds.
Reset the digest to its initial state and return self
.
Reset the digest to the initial state and return self.
Close this handle.
Calling close more than once will raise a Fiddle::DLError
exception.
Clear the reference to the object this is pinning.
Returns true if the reference has been cleared, otherwise returns false.
Returns a new Fiddle::Pointer
instance that is a dereferenced pointer for this pointer.
Analogous to the star operator in C.