Module: Ole::Types

Includes:
Variant::Constants
Defined in:
lib/ole/types.rb,
lib/ole/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, Lpstr, Lpwstr, PropertySet

Constant Summary collapse

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

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.



231
232
233
# File 'lib/ole/types.rb', line 231

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

.load_time(str) ⇒ Object



235
236
237
# File 'lib/ole/types.rb', line 235

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