visible?

WIN32OLE_TYPE#visible #=> true or false Instance Public methods Returns true if the OLE class is public. tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Application') puts tobj.visible # => true

new

WIN32OLE_TYPELIB.new(typelib [, version1, version2]) â WIN32OLE_TYPELIB object Class Public methods Returns a new WIN32OLE_TYPELIB object. The first argument typelib specifies OLE type library name or GUID or OLE library file. The second argument is major version or version of the type library. The third argument is minor version. The second argument and third argument are optional. If the first argument is type library name, then the second and third argument are ignored. tlib1

typelibs

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

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}'

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>"

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

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

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

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

ole_classes

ole_classes() Instance Public methods Alias for: ole_types