method

name

ruby latest stable - Class: WIN32OLE_TYPE
name()
public

Returns OLE type name.

tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Application')
puts tobj.name  # => Application