Class: ODDB::TestGalenicForm::StubGroup

Inherits:
Object
  • Object
show all
Defined in:
test/test_model/galenicform.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) add_called (readonly)

Returns the value of attribute add_called



20
21
22
# File 'test/test_model/galenicform.rb', line 20

def add_called
  @add_called
end

- (Object) remove_called (readonly)

Returns the value of attribute remove_called



20
21
22
# File 'test/test_model/galenicform.rb', line 20

def remove_called
  @remove_called
end

Instance Method Details

- (Object) add(form)



21
22
23
# File 'test/test_model/galenicform.rb', line 21

def add(form)
  @add_called = form
end

- (Object) pointer



27
28
29
# File 'test/test_model/galenicform.rb', line 27

def pointer
  [:parent]
end

- (Object) remove(form)



24
25
26
# File 'test/test_model/galenicform.rb', line 24

def remove(form)
  @remove_called = form
end