Sets value specified by the member name of VT_RECORD OLE object. If the member name is not correct, KeyError
exception is raised. If you can’t set value of member of VT_RECORD OLE object directly, use this method.
If COM server in VB.NET ComServer project is the following:
Imports System.Runtime.InteropServices Public Class ComClass <MarshalAs(UnmanagedType.BStr)> _ Public title As String Public cost As Integer End Class
then setting value of the ‘title’ member is as following:
srver = WIN32OLE.new('ComServer.ComClass') obj = WIN32OLE::Record.new('Book', server) obj.ole_instance_variable_set(:title, "The Ruby Book")
The offset from the start of the file in code units of the given encoding.
The column number in code units of the given encoding where this location starts from the start of the line.
in [foo, bar, baz]
in InstanceVariableReadNode[name: Symbol] in { name: Symbol
}
returns match status of CSI/SS3 sequence and matched length
Returns the full name of this Gem (see ‘Gem::BasicSpecification#full_name`). Information about where the gem is installed is also included if not installed in the default GEM_HOME.
Remove everything in the DependencyList
that matches but doesn’t satisfy items in dependencies
(a hash of gem names to arrays of dependencies).
Return the best specification that contains the file matching path
amongst the specs that are not activated.
Return the best specification in the record that contains the file matching path
amongst the specs that are not activated.
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
See the OpenSSL
documentation for EVP_PKEY_new_raw_private_key()
Creates a self-signed certificate with an issuer and subject of subject
and the given extensions
for the key
.
Corrects path
(usually returned by ‘Gem::URI.parse().path` on Windows), that comes with a leading slash.