Class: ODDB::PointerHash

Inherits:
Hash show all
Defined in:
src/util/pointerarray.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Hash

#obj_path

Constructor Details

- (PointerHash) initialize(hash, pointer)

A new instance of PointerHash



21
22
23
24
25
# File 'src/util/pointerarray.rb', line 21

def initialize(hash, pointer)
  super()
  update(hash)
  @pointer = pointer
end

Instance Attribute Details

- (Object) pointer

Returns the value of attribute pointer



20
21
22
# File 'src/util/pointerarray.rb', line 20

def pointer
  @pointer
end