Results for: "uri"

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Pins the gem name to the given source. Adding a gem with the same name from a different source will raise an exception.

No documentation available

Returns 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 access member variable 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
    Public Structure ComObject
        Public object_id As Ineger
    End Structure
End Class

and Ruby Object class has title attribute:

then accessing object_id of ComObject from Ruby is as the following:

srver = WIN32OLE.new('ComServer.ComClass')
obj = WIN32OLE::Record.new('ComObject', server)
# obj.object_id returns Ruby Object#object_id
obj.ole_instance_variable_get(:object_id) # => nil

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")

Example:

Foo
^^^

Example:

Foo::Bar
   ^^^^^

Compile a CapturePatternNode node

Compile a ConstantWriteNode node

Compile a EmbeddedVariableNode node

Compile a InterpolatedStringNode node

Compile a InterpolatedXStringNode node

Compile a MatchWriteNode node

Compile a MultiWriteNode node

Compile a PinnedVariableNode node

Compile a SourceEncodingNode node

Compile a SourceFileNode node

Compile a SourceLineNode node

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

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

Search took: 3ms  ·  Total Results: 1431