Method: WIN32OLE_TYPELIB.typelibs
- Defined in:
- lib/win32ole/win32ole_typelib.rb
.typelibs ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/win32ole/win32ole_typelib.rb', line 61 def typelibs typelibs = [] typelib_registry_each_guid_version do |guid, version, reg| name = reg.read(nil)[1] || '' registry_subkey(reg, 'win32', 'win64') do |arch_reg, arch| type_lib = load_typelib(arch_reg, arch) # TODO: I think MRI figures out a few more typelibs than we do typelibs << WIN32OLE_TYPELIB.new(type_lib, name) if type_lib end end typelibs end |