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_RECORD
/
//opt/alt/ruby27/share/ri/system/WIN32OLE_RECORD/method_missing-i.ri
U:RDoc::AnyMethod[iI"method_missing:ETI"#WIN32OLE_RECORD#method_missing;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"KReturns value specified by the member name of VT_RECORD OLE variable. ;TI"KOr sets value specified by the member name of VT_RECORD OLE variable. ;TI"EIf the member name is not correct, KeyError exception is raised.;To:RDoc::Markup::BlankLine o; ; [I"@If COM server in VB.NET ComServer project is the following:;T@o:RDoc::Markup::Verbatim; [ I",Imports System.Runtime.InteropServices ;TI"Public Class ComClass ;TI" Public Structure Book ;TI"/ <MarshalAs(UnmanagedType.BStr)> _ ;TI"$ Public title As String ;TI"$ Public cost As Integer ;TI" End Structure ;TI"End Class ;T:@format0o; ; [I">Then getting/setting value from Ruby is as the following:;T@o;; [ I".obj = WIN32OLE.new('ComServer.ComClass') ;TI"-book = WIN32OLE_RECORD.new('Book', obj) ;TI"Ebook.title # => nil ( book.method_missing(:title) is invoked. ) ;TI"Obook.title = "Ruby" # ( book.method_missing(:title=, "Ruby") is invoked. );T; 0: @fileI"#ext/win32ole/win32ole_record.c;T:0@omit_headings_from_table_of_contents_below0I"*WIN32OLE_RECORD#method_missing(name) ;T0[ I"(*args);T@'FI"WIN32OLE_RECORD;TcRDoc::NormalClass00