The OLE variant types, extracted from www.marin.clara.net/COM/variant_type_definitions.htm.
A subset is also in WIN32OLE::VARIANT, but its not cross platform (obviously).
Use like:
p Ole::Types::Variant::NAMES[0x001f] => 'VT_LPWSTR' p Ole::Types::VT_DATE # => 7
The serialization / deserialization functions should be fixed to make it easier to work with. like
Ole::Types.from_str(VT_DATE, data) # and Ole::Types.to_str(VT_DATE, data)
Or similar, rather than having to do VT_* <=> ad hoc class name etc as it is currently.
Generated with the Darkfish Rdoc Generator 2.