in InstanceVariableReadNode[name: Symbol] in { name: Symbol
}
Return the best specification that contains the file matching path
amongst the specs that are not activated.
Finds code lines at the same or greater indentation and adds them to the block
Shows surrounding kw/end pairs
The purpose of showing these extra pairs is due to cases of ambiguity when only one visible line is matched.
For example:
1 class Dog 2 def bark 4 def eat 5 end 6 end
In this case either line 2 could be missing an ‘end` or line 4 was an extra line added by mistake (it happens).
When we detect the above problem it shows the issue as only being on line 2
2 def bark
Showing “neighbor” keyword pairs gives extra context:
2 def bark 4 def eat 5 end
Returns true if the document is valid with all lines removed. By default it checks all blocks in present in the frontier array, but can be used for arbitrary arrays of codeblocks as well
Creates a self-signed certificate with an issuer and subject of subject
and the given extensions
for the key
.
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
See also the man page X509_STORE_set_default_paths(3).
Establish the OpenSSL::SSL::SSLContext
with the configuration parameters provided.