Class: ODDB::View::StubPointerStepsAncestor

Inherits:
Object
  • Object
show all
Defined in:
test/test_view/pointersteps.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubPointerStepsAncestor) initialize(pointer_descr)

A new instance of StubPointerStepsAncestor



37
38
39
# File 'test/test_view/pointersteps.rb', line 37

def initialize(pointer_descr)
  @pointer_descr = pointer_descr
end

Instance Attribute Details

- (Object) pointer_descr (readonly)

Returns the value of attribute pointer_descr



36
37
38
# File 'test/test_view/pointersteps.rb', line 36

def pointer_descr
  @pointer_descr
end

Instance Method Details

- (Object) pointer



40
41
42
# File 'test/test_view/pointersteps.rb', line 40

def pointer
  "-" + @pointer_descr + "-"
end