Flowdock
method

ole_typelib

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: WIN32OLE
ole_typelib() public

Returns the WIN32OLE_TYPELIB object. The object represents the type library which contains the WIN32OLE object.

excel = WIN32OLE.new('Excel.Application')
tlib = excel.ole_typelib
puts tlib.name  # -> 'Microsoft Excel 9.0 Object Library'
Show source
Register or log in to add new notes.