new

WIN32OLE_TYPE.new(typelib, ole_class) â WIN32OLE_TYPE object Class Public methods Returns a new WIN32OLE_TYPE object. The first argument typelib specifies OLE type library name. The second argument specifies OLE class name. WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Application') # => WIN32OLE_TYPE object of Application class of Excel.

__itemconfiginfo

__itemconfiginfo(container, *args) Class Public methods Alias for: itemconfiginfo

encode64

encode64(bin) Instance Public methods Returns the Base64-encoded version of bin. This method complies with RFC 2045. Line feeds are added to every 60 encoded charactors. require 'base64' Base64.encode64("Now is the time for all good coders\nto learn Ruby") Generates: Tm93IGlzIHRoZSB0aW1lIGZvciBhbGwgZ29vZCBjb2RlcnMKdG8gbGVhcm4g UnVieQ==

method_missing

method_missing(id, *args) Instance Public methods #method_missing(id, *args): execute undefined method as tcl/tk command id: method symbol *args: method arguments

max=

max=(max) Instance Public methods Sets the maximum size of the queue.

find_by

find_by(*args) Instance Public methods Finds the first record matching the specified conditions. There is no implied ordering so if order matters, you should specify it yourself. If no record is found, returns nil. Post.find_by name: 'Spartacus', rating: 4 Post.find_by "published_at < ?", 2.weeks.ago

unadvise

WIN32OLE_EVENT#unadvise â nil Instance Public methods disconnects OLE server. If this method called, then the WIN32OLE_EVENT object does not receive the OLE server event any more. This method is trial implementation. ie = WIN32OLE.new('InternetExplorer.Application') ev = WIN32OLE_EVENT.new(ie) ev.on_event() {...} ... ev.unadvise

to_i

to_i Instance Public methods Returns the memory address for this handle.

ipv6_loopback?

ipv6_loopback?() Instance Public methods Returns true for IPv6 loopback address (::1). It returns false otherwise.

submit

submit(value = nil, name = nil) Instance Public methods Generate a submit button Input element, as a String. value is the text to display on the button. name is the name of the input. Alternatively, the attributes can be specified as a hash. submit # <INPUT TYPE="submit"> submit("ok") # <INPUT TYPE="submit" VALUE="ok"> submit("ok", "button1") # <INPUT TYPE="submit" VALUE="ok" NAME="button1"> submit("VALUE" => "ok", "NAME" => "button1", "ID" => "