| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/WIN32OLE/ |
Upload File : |
U:RDoc::AnyMethod[iI"const_load:ETI"WIN32OLE::const_load;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HDefines the constants of OLE Automation server as mod's constants. ;TI"AThe first argument is WIN32OLE object or type library name. ;TI":If 2nd argument is omitted, the default is WIN32OLE. ;TI"FThe first letter of Ruby's constant variable name is upper case, ;TI"Bso constant variable name of WIN32OLE object is capitalized. ;TI"FFor example, the 'xlTop' constant of Excel is changed to 'XlTop' ;TI"in WIN32OLE. ;TI"AIf the first letter of constant variable is not [A-Z], then ;TI"7the constant is defined as CONSTANTS hash element.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module EXCEL_CONST
;TI" end
;TI"/excel = WIN32OLE.new('Excel.Application')
;TI"-WIN32OLE.const_load(excel, EXCEL_CONST)
;TI"(puts EXCEL_CONST::XlTop # => -4160
;TI"Fputs EXCEL_CONST::CONSTANTS['_xlDialogChartSourceData'] # => 541
;TI"
;TI" WIN32OLE.const_load(excel)
;TI"%puts WIN32OLE::XlTop # => -4160
;TI"
;TI"module MSO
;TI" end
;TI"EWIN32OLE.const_load('Microsoft Office 9.0 Object Library', MSO)
;TI"#puts MSO::MsoLineSingle # => 1;T:@format0:
@fileI"ext/win32ole/win32ole.c;T:0@omit_headings_from_table_of_contents_below0I"/WIN32OLE.const_load( ole, mod = WIN32OLE)
;T0[ I"(p1, p2 = v2);T@'FI"
WIN32OLE;TcRDoc::NormalClass00