Module: Ole::Types

Includes:
Variant::Constants
Defined in:
lib/ole/types/base.rb,
lib/ole/types/property_set.rb

Overview

The Types module contains all the serialization and deserialization code for standard ole types.

It also defines all the variant type constants, and symbolic names.

Defined Under Namespace

Modules: Variant Classes: Clsid, Data, FileTime, Iconv, Lpstr, Lpwstr, PropertySet

Constant Summary collapse

FROM_UTF16 =
Lpwstr::FROM_UTF16
TO_UTF16 =
Lpwstr::TO_UTF16

Constants included from Variant::Constants

Variant::Constants::VT_TYPEMASK

Class Method Summary collapse

Class Method Details

.load_guid(str) ⇒ Object

deprecated aliases, kept mostly for the benefit of ruby-msg, until i release a new version.



305
306
307
# File 'lib/ole/types/base.rb', line 305

def self.load_guid str
	Variant.load VT_CLSID, str
end

.load_time(str) ⇒ Object



309
310
311
# File 'lib/ole/types/base.rb', line 309

def self.load_time str
	Variant.load VT_FILETIME, str
end