The WIN32OLE::VARIANT module includes constants of VARIANT type constants. The constants is used when creating WIN32OLE_VARIANT object.
obj = WIN32OLE_VARIANT.new("2e3", WIN32OLE::VARIANT::VT_R4) obj.value # => 2000.0
represents VT_ARRAY type constant.
represents VT_BOOL type constant.
represents VT_BSTR type constant.
represents VT_BYREF type constant.
represents VT_CY type constant.
represents VT_DATE type constant.
represents VT_DISPATCH type constant.
represents VT_EMPTY type constant.
represents VT_ERROR type constant.
represents VT_I1 type constant.
represents VT_I2 type constant.
represents VT_I4 type constant.
represents VT_I8 type constant.
represents VT_INT type constant.
represents VT_NULL type constant.
represents VT_PTR type constant.
represents VT_R4 type constant.
represents VT_R8 type constant.
represents VT_UI1 type constant.
represents VT_UI2 type constant.
represents VT_UI4 type constant.
represents VT_UI8 type constant.
represents VT_UINT type constant.
represents VT_UNKNOWN type constant.
represents VT_USERDEFINED type constant.
represents VT_VARIANT type constant.
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.