D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
WIN32OLE
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"WIN32OLE::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I";Returns a new WIN32OLE object(OLE Automation object). ;TI"@The first argument server specifies OLE Automation server. ;TI"3The first argument should be CLSID or PROGID. ;TI"DIf second argument host specified, then returns OLE Automation ;TI"object on host. ;TI"/If :license keyword argument is provided, ;TI"EIClassFactory2::CreateInstanceLic is used to create instance of ;TI"licensed server.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"RWIN32OLE.new('Excel.Application') # => Excel OLE Automation WIN32OLE object. ;TI"fWIN32OLE.new('{00024500-0000-0000-C000-000000000046}') # => Excel OLE Automation WIN32OLE object.;T:@format0: @fileI"ext/win32ole/win32ole.c;T:0@omit_headings_from_table_of_contents_below0I"dnew(server, [host]) -> WIN32OLE object WIN32OLE.new(server, license: 'key') -> WIN32OLE object ;T0[ I""(p1, p2 = v2, *args, p4 = {});T@FI" WIN32OLE;TcRDoc::NormalClass00