visible?

WIN32OLE_TYPELIB#visible?
Instance Public methods

Returns true if the type library information is not hidden. If wLibFlags of TLIBATTR is 0 or LIBFLAG_FRESTRICTED or LIBFLAG_FHIDDEN, the method returns false, otherwise, returns true. If the method fails to access the TLIBATTR information, then WIN32OLERuntimeError is raised.

tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library')
tlib.visible? # => true
doc_ruby_on_rails
2015-06-13 04:53:31
Comments
Leave a Comment

Please login to continue.