Results for: "OptionParser"

def foo((bar, baz)); end

^^^^^^^^^^

() ^^

(1) ^^^

1r ^^

Pattern constants get wrapped in another layer of :const.

Foo += bar ^^^^^^^^^^^

Foo::Bar, = baz ^^^^^^^^

def foo(**bar); end

^^^^^

def foo(**); end

^^

Visit the targets of a multi-target node.

def foo(**nil); end

^^^^^

def foo(bar:); end

^^^^

Example:

x.foo += 42
         ^^

Example:

x[1] += 42
  ^^^^^^^^

/foo #{bar}/ ^^^^^^^^^^^^

/foo #{bar}/ ^^^^^^^^^^^^

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

Defines the callback of event. If you want modify argument in callback, you could use this method instead of WIN32OLE::Event#on_event.

ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE::Event.new(ie)
ev.on_event_with_outargs('BeforeNavigate2') {|*args|
  args.last[6] = true
}

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:

x + 1
    ^

Example:

Foo::Bar
   ^^^^^

Compile a ConstantPathNode node

Compile a ConstantTargetNode node

Search took: 6ms  ·  Total Results: 6041