Class: ODDB::StubPointerApp2

Inherits:
Object
  • Object
show all
Includes:
ODBA::Persistable
Defined in:
test/test_util/persistence.rb

Instance Method Summary (collapse)

Constructor Details

- (StubPointerApp2) initialize

A new instance of StubPointerApp2



103
104
105
# File 'test/test_util/persistence.rb', line 103

def initialize
  @faps = {}
end

Instance Method Details

- (Object) create(pointer)



112
113
114
# File 'test/test_util/persistence.rb', line 112

def create(pointer)
  pointer.issue_create(self)
end

- (Object) create_fap(arg)



115
116
117
# File 'test/test_util/persistence.rb', line 115

def create_fap(arg)
  @faps[arg] = StubPointerFap.new(arg)
end

- (Object) fap(arg)



109
110
111
# File 'test/test_util/persistence.rb', line 109

def fap(arg)
  @faps[arg]
end

- (Object) foo



106
107
108
# File 'test/test_util/persistence.rb', line 106

def foo
  @foo ||= StubPointerFoo.new
end

- (Object) update(pointer, values)



118
119
120
# File 'test/test_util/persistence.rb', line 118

def update(pointer, values)
  pointer.issue_update(self, values)
end