Parse and return a Time
from string
Builds a methods for level meth
.
Returns the size of arguments of the method.
tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbook') method = WIN32OLE_METHOD.new(tobj, 'SaveAs') puts method.size_params # => 11
Returns value specified by the member name of VT_RECORD OLE variable. Or sets value specified by the member name of VT_RECORD OLE variable. If the member name is not correct, KeyError
exception is raised.
If COM server in VB.NET ComServer project is the following:
Imports System.Runtime.InteropServices Public Class ComClass Public Structure Book <MarshalAs(UnmanagedType.BStr)> _ Public title As String Public cost As Integer End Structure End Class
Then getting/setting value from Ruby is as the following:
obj = WIN32OLE.new('ComServer.ComClass') book = WIN32OLE_RECORD.new('Book', obj) book.title # => nil ( book.method_missing(:title) is invoked. ) book.title = "Ruby" # ( book.method_missing(:title=, "Ruby") is invoked. )
Returns array of WIN32OLE_METHOD objects which represent OLE method defined in OLE type library.
tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Worksheet') methods = tobj.ole_methods.collect{|m| m.name } # => ['Activate', 'Copy', 'Delete',....]
Creates a Regexp
to match an address.
Has a method been included in the list of insecure methods?
Dispatches a single event for ‘node` to all registered listeners.
def dispatch_once
: (Node
) -> void
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
def safe_navigation?: () -> bool
Attach the list of comments to their respective locations in the tree.