⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
WIN32OLE_EVENT
/
View File Name :
handler%3d-i.ri
U:RDoc::AnyMethod[iI" handler=:ETI"WIN32OLE_EVENT#handler=;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<sets event handler object. If handler object has onXXX ;TI"@method according to XXX event, then onXXX method is called ;TI"when XXX event occurs.;To:RDoc::Markup::BlankLine o; ; [I":If handler object has method_missing and there is no ;TI"8method according to the event, then method_missing ;TI",called and 1-st argument is event name.;T@o; ; [ I";If handler object has onXXX method and there is block ;TI"2defined by WIN32OLE_EVENT#on_event('XXX'){}, ;TI"Dthen block is executed but handler object method is not called ;TI"when XXX event occurs.;T@o:RDoc::Markup::Verbatim; [I"class Handler ;TI"$ def onStatusTextChange(text) ;TI"" puts "StatusTextChanged" ;TI" end ;TI"" def onPropertyChange(prop) ;TI" puts "PropertyChanged" ;TI" end ;TI"$ def method_missing(ev, *arg) ;TI"" puts "other event #{ev}" ;TI" end ;TI" end ;TI" ;TI"handler = Handler.new ;TI"7ie = WIN32OLE.new('InternetExplorer.Application') ;TI"!ev = WIN32OLE_EVENT.new(ie) ;TI".ev.on_event("StatusTextChange") {|*args| ;TI"# puts "this block executed." ;TI"? puts "handler.onStatusTextChange method is not called." ;TI"} ;TI"ev.handler = handler;T:@format0: @fileI""ext/win32ole/win32ole_event.c;T:0@omit_headings_from_table_of_contents_below0I"WIN32OLE_EVENT#handler= ;T0[ I" (p1);T@2FI"WIN32OLE_EVENT;TcRDoc::NormalClass00