method

ole_type

v2_2_9 - Show latest stable - Class: WIN32OLE
ole_type()
public

Returns WIN32OLE_TYPE object.

excel = WIN32OLE.new('Excel.Application')
tobj = excel.ole_type