path

WIN32OLE_TYPELIB#path â The type library file path. Instance Public methods Returns the type library file path. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') puts tlib.path #-> 'C:\...\EXCEL9.OLB'

ole_types

WIN32OLE_TYPELIB#ole_types â The array of WIN32OLE_TYPE object included the type library. Instance Public methods Returns the type library file path. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') classes = tlib.ole_types.collect{|k| k.name} # -> ['AddIn', 'AddIns' ...] ole_classes

ole_classes

ole_classes() Instance Public methods Alias for: ole_types

name

WIN32OLE_TYPELIB#name â The type library name Instance Public methods Returns the type library name. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') name = tlib.name # -> 'Microsoft Excel 9.0 Object Library' to_s

minor_version

WIN32OLE_TYPELIB#minor_version â The type library minor version. Instance Public methods Returns the type library minor version. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') puts tlib.minor_version # -> 3

major_version

WIN32OLE_TYPELIB#major_version â The type library major version. Instance Public methods Returns the type library major version. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') puts tlib.major_version # -> 1

library_name

WIN32OLE_TYPELIB#library_name Instance Public methods Returns library name. If the method fails to access library name, WIN32OLERuntimeError is raised. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') tlib.library_name # => Excel

inspect

WIN32OLE_TYPELIB#inspect â String Instance Public methods Returns the type library name with class name. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') tlib.inspect # => "<#WIN32OLE_TYPELIB:Microsoft Excel 9.0 Object Library>"

guid

WIN32OLE_TYPELIB#guid â The guid string. Instance Public methods Returns guid string which specifies type library. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') guid = tlib.guid # -> '{00020813-0000-0000-C000-000000000046}'

typelibs

WIN32OLE_TYPELIB.typelibs Class Public methods Returns the array of WIN32OLE_TYPELIB object. tlibs = WIN32OLE_TYPELIB.typelibs