Class: Mapi::Pst::TablePtr
- Inherits:
-
Struct
- Object
- Struct
- Mapi::Pst::TablePtr
- Defined in:
- lib/mapi/pst.rb
Overview
_pst_table_ptr_struct
Constant Summary collapse
- UNPACK_STR =
'V3'
- SIZE =
12
Instance Attribute Summary collapse
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#start ⇒ Object
Returns the value of attribute start.
-
#u1 ⇒ Object
Returns the value of attribute u1.
Instance Method Summary collapse
-
#initialize(data) ⇒ TablePtr
constructor
A new instance of TablePtr.
Constructor Details
#initialize(data) ⇒ TablePtr
Returns a new instance of TablePtr.
547 548 549 550 |
# File 'lib/mapi/pst.rb', line 547 def initialize data data = data.unpack(UNPACK_STR) if String === data super(*data) end |
Instance Attribute Details
#offset ⇒ Object
Returns the value of attribute offset
543 544 545 |
# File 'lib/mapi/pst.rb', line 543 def offset @offset end |
#start ⇒ Object
Returns the value of attribute start
543 544 545 |
# File 'lib/mapi/pst.rb', line 543 def start @start end |
#u1 ⇒ Object
Returns the value of attribute u1
543 544 545 |
# File 'lib/mapi/pst.rb', line 543 def u1 @u1 end |