Class: Mapi::Pst::ID2Assoc

Inherits:
Struct
  • Object
show all
Defined in:
lib/mapi/pst.rb

Overview

id2


Constant Summary collapse

UNPACK_STR =
'V3'
SIZE =
12

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ID2Assoc

Returns a new instance of ID2Assoc.



790
791
792
793
# File 'lib/mapi/pst.rb', line 790

def initialize data
	data = data.unpack(UNPACK_STR) if String === data
	super(*data)
end

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



786
787
788
# File 'lib/mapi/pst.rb', line 786

def id
  @id
end

#id2Object

Returns the value of attribute id2

Returns:

  • (Object)

    the current value of id2



786
787
788
# File 'lib/mapi/pst.rb', line 786

def id2
  @id2
end

#table2Object

Returns the value of attribute table2

Returns:

  • (Object)

    the current value of table2



786
787
788
# File 'lib/mapi/pst.rb', line 786

def table2
  @table2
end