Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
WIN32OLE_TYPELIB
/
//opt/alt/ruby27/share/ri/system/WIN32OLE_TYPELIB/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"WIN32OLE_TYPELIB::new;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"+Returns a new WIN32OLE_TYPELIB object.;To:RDoc::Markup::BlankLine o; ; [I"SThe first argument <i>typelib</i> specifies OLE type library name or GUID or ;TI"OLE library file. ;TI"JThe second argument is major version or version of the type library. ;TI"*The third argument is minor version. ;TI":The second argument and third argument are optional. ;TI"TIf the first argument is type library name, then the second and third argument ;TI"are ignored.;T@o:RDoc::Markup::Verbatim; [I"Htlib1 = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') ;TI"Ltlib2 = WIN32OLE_TYPELIB.new('{00020813-0000-0000-C000-000000000046}') ;TI"Qtlib3 = WIN32OLE_TYPELIB.new('{00020813-0000-0000-C000-000000000046}', 1.3) ;TI"Rtlib4 = WIN32OLE_TYPELIB.new('{00020813-0000-0000-C000-000000000046}', 1, 3) ;TI"Ftlib5 = WIN32OLE_TYPELIB.new("C:\\WINNT\\SYSTEM32\\SHELL32.DLL") ;TI"@puts tlib1.name # -> 'Microsoft Excel 9.0 Object Library' ;TI"@puts tlib2.name # -> 'Microsoft Excel 9.0 Object Library' ;TI"@puts tlib3.name # -> 'Microsoft Excel 9.0 Object Library' ;TI"@puts tlib4.name # -> 'Microsoft Excel 9.0 Object Library' ;TI"Dputs tlib5.name # -> 'Microsoft Shell Controls And Automation';T:@format0: @fileI"$ext/win32ole/win32ole_typelib.c;T:0@omit_headings_from_table_of_contents_below0I"UWIN32OLE_TYPELIB.new(typelib [, version1, version2]) -> WIN32OLE_TYPELIB object ;T0[ I"(*args);T@$FI"WIN32OLE_TYPELIB;TcRDoc::NormalClass00